mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
chore: fix test
This commit is contained in:
1 parent
a1aa5a1f55
commit
376ab65e3b
2 files changed
+4
No files matched your search
@@ -14,6 +14,8 @@ export default {
|
||||
'/node_modules/(?!(color|color-string|color-convert|color-name)/)',
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)\\?script(?:&(?:iife|module))?$':
|
||||
'<rootDir>/src/test/mocks/crxjsScriptPath.ts',
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
'^color$': '<rootDir>/src/test/mocks/color.ts',
|
||||
'^webextension-polyfill$': '<rootDir>/src/test/mocks/webextension-polyfill.ts',
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/** Stub for CRXJS `?script` / `?script&iife` imports (default export is an extension-relative path). */
|
||||
export default "assets/mock-page-script.js";
|
||||
Reference in new issue
Block a user