Enzo il y a 1 an
Parent
commit
8ca79c3549
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  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 = {