mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +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/lib/createRPCMethodTrackingMiddleware.js',
|
||||||
'<rootDir>/app/scripts/migrations/*.js',
|
'<rootDir>/app/scripts/migrations/*.js',
|
||||||
'<rootDir>/app/scripts/platforms/*.js',
|
'<rootDir>/app/scripts/platforms/*.js',
|
||||||
'<rootDir>/shared/**/*.js',
|
'<rootDir>/shared/**/*.(js|ts|tsx)',
|
||||||
'<rootDir>/ui/**/*.js',
|
'<rootDir>/ui/**/*.(js|ts|tsx)',
|
||||||
],
|
],
|
||||||
coverageDirectory: './coverage',
|
coverageDirectory: './coverage',
|
||||||
coveragePathIgnorePatterns: ['.stories.js', '.snap'],
|
coveragePathIgnorePatterns: ['.stories.js', '.snap'],
|
||||||
@ -43,7 +43,7 @@ module.exports = {
|
|||||||
'<rootDir>/app/scripts/migrations/*.test.js',
|
'<rootDir>/app/scripts/migrations/*.test.js',
|
||||||
'<rootDir>/app/scripts/platforms/*.test.js',
|
'<rootDir>/app/scripts/platforms/*.test.js',
|
||||||
'<rootDir>/shared/**/*.test.(js|ts)',
|
'<rootDir>/shared/**/*.test.(js|ts)',
|
||||||
'<rootDir>/ui/**/*.test.(js|ts)',
|
'<rootDir>/ui/**/*.test.(js|ts|tsx)',
|
||||||
],
|
],
|
||||||
testTimeout: 2500,
|
testTimeout: 2500,
|
||||||
// We have to specify the environment we are running in, which is jsdom. The
|
// We have to specify the environment we are running in, which is jsdom. The
|
||||||
|
@ -18,10 +18,15 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.test.ts",
|
"**/*.test.ts",
|
||||||
"**/*.test.tsx",
|
"**/*.test.tsx",
|
||||||
|
"**/jest-coverage/**/*",
|
||||||
|
"**/__mocks__/**/*",
|
||||||
|
"**/storybook-build/**/*",
|
||||||
".storybook/**/*",
|
".storybook/**/*",
|
||||||
"builds/**/*",
|
"builds/**/*",
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"node_modules/**"
|
"node_modules/**",
|
||||||
|
"development/ts-migration-dashboard/build/**/*",
|
||||||
|
"development/ts-migration-dashboard/intermediate/**/*"
|
||||||
],
|
],
|
||||||
"extends": "@tsconfig/node16/tsconfig.json",
|
"extends": "@tsconfig/node16/tsconfig.json",
|
||||||
"paths": {
|
"paths": {
|
||||||
|
Loading…
Reference in New Issue
Block a user