Open manthinaa opened 3 days ago
Package.json:
"jest": {
"globals": {
"axiosTimeout": 60000
},
"setupFilesAfterEnv": [
"jest-extended/all",
"./setup-jest.js"
],
"moduleDirectories": [
"node_modules",
"lib"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/templates/",
"/tests/",
"/data/",
"/mocks/"
],
"moduleNameMapper": {
"@lib(.)$": "
Checklist
Bug description
I am getting following on error on
require('aws-sdk-client-mock-jest');
:ENOENT: no such file or directory, open 'node:assert' require('aws-sdk-client-mock-jest'); at Runtime.readFile (node_modules/jest-runtime/build/index.js:1987:21) at Object.<anonymous> (node_modules/aws-sdk-client-mock-jest/src/jestMatchers.ts:2:1) at Object.<anonymous> (node_modules/aws-sdk-client-mock-jest/src/jest.ts:5:1)
I am working nodejs-20.
Could you please provide needful information, thank you.
Reproduction
require('aws-sdk-client-mock-jest');
Environment