Enzo 1 年之前
父節點
當前提交
8ca79c3549
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      package.json
  2. 5 5
      test/test2.ts

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "description": "",
   "main": "index.js",
   "scripts": {
-    "build": "tsc -p tsconfig-json",
+    "build": "tsc -p tsconfig.json",
     "start": "node test/test.js",
     "start2": "node test/test2.js",
     "test": "echo \"Error: no test specified\" && exit 1"

+ 5 - 5
test/test2.ts

@@ -20,11 +20,11 @@ const payload: Observable<BaseMessage> = streamService.stream().pipe(
 );
 
 // TESTING. Please ignore this
-payload.pipe(take(3)).subscribe({
-    next: data => console.log(data),
-    error: err => console.error(err),
-    complete: () => console.log(`Streaming Completed`)
-})
+// payload.pipe(take(3)).subscribe({
+//     next: data => console.log(data),
+//     error: err => console.error(err),
+//     complete: () => console.log(`Streaming Completed`)
+// })
 
 // Configure Log Setting
 let storage: LogSetting = {