1
0
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:
Brad Decker 2023-02-01 10:51:12 -06:00 committed by GitHub
parent 03d8ee5eae
commit c43b1b6191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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": {