Skip to content

Commit 686fb19

Browse files
chore(deps-dev): Bump @readme/eslint-config from 1.11.0 to 1.12.0 (#137)
* 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] <support@dependabot.com> * style: fixing some eslint jest issues Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
1 parent bb412be commit 686fb19

File tree

4 files changed

+36
-52
lines changed

4 files changed

+36
-52
lines changed

package-lock.json

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

test/cmds/docs.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ describe('rdme docs', () => {
7474
return docs.run({ folder: './test/fixtures/existing-docs', key, version }).then(() => {
7575
getMock.done();
7676
putMock.done();
77+
expect(true).toBeTruthy();
7778
});
7879
});
7980

@@ -134,6 +135,7 @@ describe('rdme docs', () => {
134135
return docs.run({ folder: './test/fixtures/new-docs', key, version }).then(() => {
135136
getMock.done();
136137
postMock.done();
138+
expect(true).toBeTruthy();
137139
});
138140
});
139141
});

test/cmds/swagger.test.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ describe('rdme swagger', () => {
152152
.basicAuth({ user: key })
153153
.reply(201, { _id: 1 }, { location: exampleRefLocation });
154154

155-
return swagger.run({ spec: './test/fixtures/swagger.json', key }).then(() => mock.done());
155+
return swagger.run({ spec: './test/fixtures/swagger.json', key }).then(() => {
156+
mock.done();
157+
expect(true).toBeTruthy();
158+
});
156159
});
157160

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

166-
return swagger.run({ spec: './test/fixtures/swagger.json', key, id, version }).then(() => mock.done());
169+
return swagger.run({ spec: './test/fixtures/swagger.json', key, id, version }).then(() => {
170+
mock.done();
171+
expect(true).toBeTruthy();
172+
});
167173
});
168174

169175
it('should still work with `token`', () => {

test/cmds/versions.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ describe('rdme versions*', () => {
126126

127127
return createVersion.run({ key, version }).then(() => {
128128
mockRequest.done();
129+
expect(true).toBeTruthy();
129130
});
130131
});
131132

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

172173
return deleteVersion.run({ key, version }).then(() => {
173174
mockRequest.done();
175+
expect(true).toBeTruthy();
174176
});
175177
});
176178

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

220222
return updateVersion.run({ key, version }).then(() => {
221223
mockRequest.done();
224+
expect(true).toBeTruthy();
222225
});
223226
});
224227

0 commit comments

Comments
 (0)