Skip to content

Commit ce0a624

Browse files
build(deps-dev): bump @readme/eslint-config from 3.1.3 to 3.2.0 (#202)
* build(deps-dev): bump @readme/eslint-config from 3.1.3 to 3.2.0 Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.1.3 to 3.2.0. - [Release notes](https://github.com/readmeio/eslint-config/releases) - [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md) - [Commits](readmeio/standards@3.1.3...3.2.0) Signed-off-by: dependabot[bot] <support@github.com> * style: removing unnecessary async declarations Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Ursenbach <jon@ursenba.ch>
1 parent 2eab99f commit ce0a624

File tree

3 files changed

+108
-75
lines changed

3 files changed

+108
-75
lines changed

package-lock.json

Lines changed: 99 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/cmds/swagger.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('rdme swagger', () => {
6767
});
6868
});
6969

70-
it('should error if API errors', async () => {
70+
it('should error if API errors', () => {
7171
const mock = nock(config.host)
7272
.get(`/api/v1/version/${version}`)
7373
.basicAuth({ user: key })

test/cmds/versions.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('rdme versions*', () => {
6868
mockRequest.done();
6969
});
7070

71-
it('should get a specific version object if version flag provided', async () => {
71+
it('should get a specific version object if version flag provided', () => {
7272
const mockRequest = nock(config.host)
7373
.get(`/api/v1/version/${version}`)
7474
.basicAuth({ user: key })
@@ -81,7 +81,7 @@ describe('rdme versions*', () => {
8181
});
8282
});
8383

84-
it('should get a specific version object if version flag provided and return it in a raw format', async () => {
84+
it('should get a specific version object if version flag provided and return it in a raw format', () => {
8585
const mockRequest = nock(config.host)
8686
.get(`/api/v1/version/${version}`)
8787
.basicAuth({ user: key })
@@ -109,7 +109,7 @@ describe('rdme versions*', () => {
109109
});
110110
});
111111

112-
it('should get a specific version object', async () => {
112+
it('should get a specific version object', () => {
113113
promptHandler.createVersionPrompt.mockResolvedValue({
114114
is_stable: true,
115115
is_beta: false,
@@ -129,7 +129,7 @@ describe('rdme versions*', () => {
129129
});
130130
});
131131

132-
it('should catch any post request errors', async () => {
132+
it('should catch any post request errors', () => {
133133
expect.assertions(1);
134134
promptHandler.createVersionPrompt.mockResolvedValue({
135135
is_stable: false,
@@ -160,15 +160,15 @@ describe('rdme versions*', () => {
160160
});
161161
});
162162

163-
it('should delete a specific version', async () => {
163+
it('should delete a specific version', () => {
164164
const mockRequest = nock(config.host).delete(`/api/v1/version/${version}`).basicAuth({ user: key }).reply(200);
165165

166166
return deleteVersion.run({ key, version }).then(() => {
167167
mockRequest.done();
168168
});
169169
});
170170

171-
it('should catch any request errors', async () => {
171+
it('should catch any request errors', () => {
172172
const mockRequest = nock(config.host).delete(`/api/v1/version/${version}`).basicAuth({ user: key }).reply(400);
173173

174174
return deleteVersion.run({ key, version }).catch(err => {
@@ -193,7 +193,7 @@ describe('rdme versions*', () => {
193193
});
194194
});
195195

196-
it('should update a specific version object', async () => {
196+
it('should update a specific version object', () => {
197197
promptHandler.createVersionPrompt.mockResolvedValue({
198198
is_stable: false,
199199
is_beta: false,
@@ -213,7 +213,7 @@ describe('rdme versions*', () => {
213213
});
214214
});
215215

216-
it('should catch any put request errors', async () => {
216+
it('should catch any put request errors', () => {
217217
expect.assertions(1);
218218
promptHandler.createVersionPrompt.mockResolvedValue({
219219
is_stable: false,

0 commit comments

Comments
 (0)