This commit is contained in:
lhx-666-cool
2025-04-25 17:03:25 +08:00
parent 326a2a007c
commit f6cb277519
1677 changed files with 1232721 additions and 0 deletions

19
web/node_modules/@open-rpc/client-js/jest.config.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
module.exports = {
"clearMocks": true,
"coverageDirectory": "../coverage",
// `resetMocks` resets reusable spies from __mocks__ to no-op implementation
// see: https://stackoverflow.com/a/63191062/2650622 for more details
"resetMocks": false,
"restoreMocks": true,
"rootDir": "./src",
"testEnvironment": "jsdom",
"preset": "ts-jest",
"coveragePathIgnorePatterns": ["Error.ts"],
"testEnvironmentOptions": {
"resources": "usable",
"features": {
"FetchExternalResources": ["script", "iframe"],
"ProcessExternalResources": ["script", "iframe"],
}
}
}