浏览代码

fix test script

master
peter 5 年前
父节点
当前提交
5d693b95dc
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 1
    1
      package.json
  2. 0
    2
      src/frontend/src/app/frontcraft/pages/raids/raids.component.ts

+ 1
- 1
package.json 查看文件

@@ -7,7 +7,7 @@
7 7
     "launch": "node lib/src/backend/Launcher.js",
8 8
     "start": "npm run build && npm run launch",
9 9
     "start-backend": "npm run build-backend && npm run launch",
10
-    "test": "npm run build-backend && npm run build-backend && mocha lib/test/backendTest.js",
10
+    "test": "npm run build-backend && mocha lib/test/backendTest.js",
11 11
     "build": "npm run build-backend && npm run build-frontend",
12 12
     "build-backend": "npm run clean-backend && tsc",
13 13
     "build-frontend": "npm run clean-frontend && (mkdir static || rm -rf static/*) && npm run build-dashboard",

+ 0
- 2
src/frontend/src/app/frontcraft/pages/raids/raids.component.ts 查看文件

@@ -32,8 +32,6 @@ export class FrontcraftRaidsComponent implements OnInit, OnDestroy{
32 32
   }
33 33
 
34 34
   ngOnDestroy = () => {
35
-    console.log("boom");
36
-
37 35
     if(this.uuid)
38 36
       this.api.get('PubSub').unsubscribe(this.uuid)
39 37
   }

正在加载...
取消
保存