fix test script

This commit is contained in:
peter
2020-02-09 03:07:37 +01:00
parent 39092f4408
commit 5d693b95dc
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"launch": "node lib/src/backend/Launcher.js", "launch": "node lib/src/backend/Launcher.js",
"start": "npm run build && npm run launch", "start": "npm run build && npm run launch",
"start-backend": "npm run build-backend && npm run launch", "start-backend": "npm run build-backend && npm run launch",
"test": "npm run build-backend && npm run build-backend && mocha lib/test/backendTest.js", "test": "npm run build-backend && mocha lib/test/backendTest.js",
"build": "npm run build-backend && npm run build-frontend", "build": "npm run build-backend && npm run build-frontend",
"build-backend": "npm run clean-backend && tsc", "build-backend": "npm run clean-backend && tsc",
"build-frontend": "npm run clean-frontend && (mkdir static || rm -rf static/*) && npm run build-dashboard", "build-frontend": "npm run clean-frontend && (mkdir static || rm -rf static/*) && npm run build-dashboard",
@@ -32,8 +32,6 @@ export class FrontcraftRaidsComponent implements OnInit, OnDestroy{
} }
ngOnDestroy = () => { ngOnDestroy = () => {
console.log("boom");
if(this.uuid) if(this.uuid)
this.api.get('PubSub').unsubscribe(this.uuid) this.api.get('PubSub').unsubscribe(this.uuid)
} }