Browse Source

test: Tweak e2e config setting to potentially speed up test runs

Michael Bromley 6 years ago
parent
commit
3ebf6de149
2 changed files with 5 additions and 4 deletions
  1. 1 1
      e2e-common/jest-config.js
  2. 4 3
      e2e-common/tsconfig.e2e.json

+ 1 - 1
e2e-common/jest-config.js

@@ -8,7 +8,7 @@ module.exports = {
     rootDir: packageDirname,
     testRegex: '.e2e-spec.ts$',
     transform: {
-        '^.+\\.(t|j)s$': 'ts-jest',
+        '^.+\\.ts$': 'ts-jest',
     },
     testEnvironment: 'node',
     reporters: ['default', path.join(__dirname, 'custom-reporter.js')],

+ 4 - 3
e2e-common/tsconfig.e2e.json

@@ -3,10 +3,11 @@
   "compilerOptions": {
     "types": ["jest", "node"],
     "lib": ["es2015"],
-    "skipLibCheck": false,
-    "inlineSourceMap": true,
+    "skipLibCheck": true,
+    "inlineSourceMap": false,
     "allowSyntheticDefaultImports": true,
     "esModuleInterop": true,
-    "allowJs": true
+    "allowJs": false,
+    "diagnostics": false
   }
 }