mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 22:33:09 +00:00
add web
This commit is contained in:
19
web/node_modules/@open-rpc/client-js/jest.config.js
generated
vendored
Normal file
19
web/node_modules/@open-rpc/client-js/jest.config.js
generated
vendored
Normal 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"],
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user