Skip to content

Commit 2988b81

Browse files
amulyakashyap09Amulya Kashyapshazron
authored
ACNA-3313 | Updated deps (#98)
* Updated deps * fix: TypeError: Cannot destructure property 'stat' of 'fs.promises' as it is undefined. --------- Co-authored-by: Amulya Kashyap <amulyak@adobe.com> Co-authored-by: Shazron Abdullah <shazron@gmail.com>
1 parent ae4126c commit 2988b81

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222
},
2323
"repository": "adobe/aio-cli-plugin-events",
2424
"devDependencies": {
25-
"@adobe/eslint-config-aio-lib-config": "^3.0.0",
25+
"@adobe/eslint-config-aio-lib-config": "^4.0.0",
2626
"@types/jest": "^29.5.3",
2727
"acorn": "^8.10.0",
2828
"babel-runtime": "^6.26.0",
2929
"chalk": "^4.0.0",
3030
"eol": "^0.9.1",
31-
"eslint": "^8.47.0",
31+
"eslint": "^8.57.1",
3232
"eslint-config-oclif": "^4.0.0",
3333
"eslint-config-standard": "^17.1.0",
34-
"eslint-plugin-import": "^2.28.0",
35-
"eslint-plugin-jest": "^27.2.3",
36-
"eslint-plugin-jsdoc": "^42.0.0",
34+
"eslint-plugin-import": "^2.31.0",
35+
"eslint-plugin-jest": "^27.9.0",
36+
"eslint-plugin-jsdoc": "^48.11.0",
3737
"eslint-plugin-n": "^15.7.0",
3838
"eslint-plugin-node": "^11.1.0",
39-
"eslint-plugin-promise": "^6.1.1",
39+
"eslint-plugin-promise": "^6.6.0",
4040
"eslint-plugin-standard": "^5.0.0",
4141
"execa": "^7.2.0",
4242
"jest": "^29.5.0",

test/jest.setup.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jest.useFakeTimers()
2121
// don't touch the real fs
2222
const mockFs = {
2323
readFileSync: jest.fn(),
24-
readFile: jest.fn()
24+
readFile: jest.fn(),
25+
promises: {
26+
stat: jest.fn()
27+
}
2528
}
2629
jest.mock('fs', () => mockFs)
2730

0 commit comments

Comments
 (0)