build: fix transform ignores

feat-otp-verification
James Elliott 2023-02-05 21:00:48 +11:00
parent 9e5aa1c1a9
commit dc334234a8
No known key found for this signature in database
GPG Key ID: 0F1C4A096E857E49
1 changed files with 1 additions and 2 deletions

View File

@ -82,8 +82,7 @@
"^.+\\.(css|png|svg)$": "jest-transform-stub" "^.+\\.(css|png|svg)$": "jest-transform-stub"
}, },
"transformIgnorePatterns": [ "transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$", "[/\\\\]node_modules[/\\\\](?!(\\.pnpm[/\\\\])?(@fortawesome[+/\\\\]fontawesome-svg-core|@simplewebauthn[+/\\\\]browser))"
"[/\\\\]node_modules[/\\\\](?!(@simplewebauthn)[/\\\\])"
], ],
"moduleNameMapper": { "moduleNameMapper": {
"^@root/(.*)$": [ "^@root/(.*)$": [