Steven Silvester 6 роки тому
батько
коміт
8827a4fac8

+ 2 - 2
tests/test-services/package.json

@@ -3,13 +3,13 @@
   "version": "0.1.0",
   "private": true,
   "scripts": {
-    "build": "tsc -b",
+    "build": "tsc -b src",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run_test.py --coverage",
     "test": "python run_test.py",
     "watch": "python run_test.py --debug",
     "watch:all": "python run_test.py --debug --watchAll",
-    "watch:src": "tsc -b --watch"
+    "watch:src": "tsc -b src --watch"
   },
   "dependencies": {
     "@jupyterlab/coreutils": "^2.2.1-alpha.0",

+ 8 - 0
tests/test-services/src/tsconfig.json

@@ -0,0 +1,8 @@
+{
+  "extends": "../../../tsconfigbase",
+  "compilerOptions": {
+    "types": ["jest", "ws", "node"],
+    "outDir": "../build"
+  },
+  "include": ["**/*"]
+}

+ 0 - 1
tests/test-services/src/typings.d.ts

@@ -1 +0,0 @@
-declare module 'text-encoding';

+ 0 - 3
tests/test-services/src/xmlhttprequest.d.ts

@@ -1,3 +0,0 @@
-declare module 'xmlhttprequest' {
-  export var XMLHttpRequest: XMLHttpRequest;
-}

+ 0 - 7
tests/test-services/tsconfig.json

@@ -1,7 +0,0 @@
-{
-  "extends": "../../tsconfigbase",
-  "compilerOptions": {
-    "types": ["jest", "ws", "node"],
-    "outDir": "./build"
-  }
-}