Browse Source

More test clean up

Afshin T. Darian 4 years ago
parent
commit
d2e65bb017

+ 0 - 1
packages/debugger-extension/babel.config.js

@@ -1 +0,0 @@
-module.exports = require('@jupyterlab/testutils/lib/babel.config');

+ 0 - 20
packages/debugger-extension/tdoptions.json

@@ -1,20 +0,0 @@
-{
-  "excludeNotExported": true,
-  "mode": "file",
-  "target": "es5",
-  "module": "es5",
-  "lib": [
-    "lib.es2015.d.ts",
-    "lib.es2015.collection.d.ts",
-    "lib.es2015.promise.d.ts",
-    "lib.dom.d.ts"
-  ],
-  "out": "../../docs/api/inspector-extension",
-  "baseUrl": ".",
-  "paths": {
-    "@jupyterlab/*": ["../packages/*"]
-  },
-  "esModuleInterop": true,
-  "jsx": "react",
-  "types": []
-}

+ 0 - 5
packages/debugger-extension/tsconfig.eslint.json

@@ -1,5 +0,0 @@
-{
-  "extends": "./tsconfig",
-  "include": ["src/**/*", "test/**/*", "*.js"],
-  "types": ["jest"]
-}

+ 1 - 21
packages/debugger/jest.config.js

@@ -1,22 +1,2 @@
 const func = require('@jupyterlab/testutils/lib/jest-config');
-const upstream = func(__dirname);
-
-let local = {
-  preset: 'ts-jest/presets/js-with-babel',
-  transformIgnorePatterns: ['/node_modules/(?!(@jupyterlab/.*)/)'],
-  globals: {
-    'ts-jest': {
-      tsConfig: './tsconfig.test.json'
-    }
-  },
-  transform: {
-    '\\.(ts|tsx)?$': 'ts-jest',
-    '\\.svg$': 'jest-raw-loader'
-  }
-};
-
-Object.keys(local).forEach(option => {
-  upstream[option] = local[option];
-});
-
-module.exports = upstream;
+module.exports = func(__dirname);

+ 0 - 20
packages/debugger/tdoptions.json

@@ -1,20 +0,0 @@
-{
-  "excludeNotExported": true,
-  "mode": "file",
-  "target": "es5",
-  "module": "es5",
-  "lib": [
-    "lib.es2015.d.ts",
-    "lib.es2015.collection.d.ts",
-    "lib.es2015.promise.d.ts",
-    "lib.dom.d.ts"
-  ],
-  "out": "../../docs/api/inspector-extension",
-  "baseUrl": ".",
-  "paths": {
-    "@jupyterlab/*": ["../packages/*"]
-  },
-  "esModuleInterop": true,
-  "jsx": "react",
-  "types": []
-}

+ 0 - 5
packages/debugger/tsconfig.eslint.json

@@ -1,5 +0,0 @@
-{
-  "extends": "./tsconfig",
-  "include": ["src/**/*", "test/**/*", "*.js"],
-  "types": ["jest"]
-}