Skip to content

Commit 5a5a505

Browse files
Update dependencies to enable Greenkeeper 🌴 (#1)
* chore(package): update dependencies * fix: linting issues Co-authored-by: Shazron Abdullah <shazron@gmail.com>
1 parent b355582 commit 5a5a505

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@adobe/aio-lib-core-errors": "^3.0.0",
20-
"@adobe/aio-lib-core-logging": "0.0.4",
20+
"@adobe/aio-lib-core-logging": "1.0.0",
2121
"cross-fetch": "^3.0.4",
2222
"swagger-client": "^3.9.0"
2323
},
@@ -31,14 +31,14 @@
3131
"eslint": "^6.2.2",
3232
"eslint-config-standard": "^14.1.0",
3333
"eslint-plugin-import": "^2.18.0",
34-
"eslint-plugin-jest": "^22.7.2",
34+
"eslint-plugin-jest": "^23.1.1",
3535
"eslint-plugin-jsdoc": "^21.0.0",
3636
"eslint-plugin-node": "^10.0.0",
3737
"eslint-plugin-promise": "^4.2.1",
3838
"eslint-plugin-standard": "^4.0.0",
3939
"jest": "^24.8.0",
4040
"jest-fetch-mock": "^2.1.2",
41-
"jest-junit": "^9.0.0",
41+
"jest-junit": "^10.0.0",
4242
"jest-plugin-fs": "^2.9.0",
4343
"jsdoc": "^3.6.3",
4444
"jsdoc-to-markdown": "^5.0.0",

‎test/index.test.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ test('getSomething', async () => {
109109
const apiParameters = {}
110110
const apiOptions = createSwaggerOptions()
111111

112-
return standardTest({
112+
return expect(() => standardTest({
113113
fullyQualifiedApiName: 'mytag.getSomething',
114114
apiParameters,
115115
apiOptions,
116116
sdkArgs,
117117
ErrorClass: codes.ERROR_GET_SOMETHING
118-
})
118+
})).not.toThrow()
119119
})

‎test/jest/jest.fixture.setup.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ global.fixtureJson = (output) => {
3030
expect.extend({
3131
toMatchFixture (received, argument) {
3232
const val = fixtureFile(argument)
33+
// eslint-disable-next-line jest/no-standalone-expect
3334
expect(eol.auto(received)).toEqual(eol.auto(val))
3435
return { pass: true }
3536
}
@@ -38,6 +39,7 @@ expect.extend({
3839
expect.extend({
3940
toMatchFixtureJson (received, argument) {
4041
const val = fixtureJson(argument)
42+
// eslint-disable-next-line jest/no-standalone-expect
4143
expect(received).toEqual(val)
4244
return { pass: true }
4345
}

0 commit comments

Comments
 (0)