File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 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 },
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" ,
Original file line number Diff line number Diff 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} )
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ global.fixtureJson = (output) => {
3030expect . 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({
3839expect . 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 }
You can’t perform that action at this time.
0 commit comments