mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-21 17:37:01 +01:00
TypeScript tooling fixes (#17513)
* TypeScript tooling fixes * refine the dashboard ignore patterns
This commit is contained in:
parent
03d8ee5eae
commit
c43b1b6191
@ -8,8 +8,8 @@ module.exports = {
|
||||
'<rootDir>/app/scripts/lib/createRPCMethodTrackingMiddleware.js',
|
||||
'<rootDir>/app/scripts/migrations/*.js',
|
||||
'<rootDir>/app/scripts/platforms/*.js',
|
||||
'<rootDir>/shared/**/*.js',
|
||||
'<rootDir>/ui/**/*.js',
|
||||
'<rootDir>/shared/**/*.(js|ts|tsx)',
|
||||
'<rootDir>/ui/**/*.(js|ts|tsx)',
|
||||
],
|
||||
coverageDirectory: './coverage',
|
||||
coveragePathIgnorePatterns: ['.stories.js', '.snap'],
|
||||
@ -43,7 +43,7 @@ module.exports = {
|
||||
'<rootDir>/app/scripts/migrations/*.test.js',
|
||||
'<rootDir>/app/scripts/platforms/*.test.js',
|
||||
'<rootDir>/shared/**/*.test.(js|ts)',
|
||||
'<rootDir>/ui/**/*.test.(js|ts)',
|
||||
'<rootDir>/ui/**/*.test.(js|ts|tsx)',
|
||||
],
|
||||
testTimeout: 2500,
|
||||
// We have to specify the environment we are running in, which is jsdom. The
|
||||
|
@ -18,10 +18,15 @@
|
||||
"**/*.test.js",
|
||||
"**/*.test.ts",
|
||||
"**/*.test.tsx",
|
||||
"**/jest-coverage/**/*",
|
||||
"**/__mocks__/**/*",
|
||||
"**/storybook-build/**/*",
|
||||
".storybook/**/*",
|
||||
"builds/**/*",
|
||||
"dist/**/*",
|
||||
"node_modules/**"
|
||||
"node_modules/**",
|
||||
"development/ts-migration-dashboard/build/**/*",
|
||||
"development/ts-migration-dashboard/intermediate/**/*"
|
||||
],
|
||||
"extends": "@tsconfig/node16/tsconfig.json",
|
||||
"paths": {
|
||||
|
Loading…
Reference in New Issue
Block a user