Explorar o código

clean up integration tests

Steven Silvester %!s(int64=8) %!d(string=hai) anos
pai
achega
3d2e3602b5
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      packages/services/test/src/integration.ts

+ 6 - 2
packages/services/test/src/integration.ts

@@ -143,7 +143,9 @@ describe('jupyter.services - Integration', () => {
             resolve(void 0);
           };
         });
-      }).then(() => kernel.shutdown());
+      }).then(() => {
+        return kernel.shutdown();
+      });
     });
 
   });
@@ -280,7 +282,9 @@ describe('jupyter.services - Integration', () => {
         ].join('\n');
         kernel.requestExecute({ code: code });
         return promise;
-      }).then(() => kernel.shutdown());
+      }).then(() => {
+        return kernel.shutdown();
+      });
     });
 
   });