Parcourir la source

bump to 30s for all karma tests

Steven Silvester il y a 5 ans
Parent
commit
9205d4ae54
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      tests/karma.conf.js
  2. 1 1
      tests/test-notebook/src/actions.spec.ts

+ 1 - 1
tests/karma.conf.js

@@ -11,7 +11,7 @@ module.exports = function(config) {
     client: {
       captureConsole: true,
       mocha: {
-        timeout: 10000, // 10 seconds - upped from 2 seconds
+        timeout: 30000, // 30 seconds - upped from 2 seconds
         retries: 3 // Allow for slow server on CI.
       }
     },

+ 1 - 1
tests/test-notebook/src/actions.spec.ts

@@ -65,7 +65,7 @@ describe('@jupyterlab/notebook', () => {
 
     after(() => {
       return Promise.all([session.shutdown(), ipySession.shutdown()]);
-    }).timeout(30000); // Allow for slower CI
+    });
 
     describe('#executed', () => {
       it('should emit when Markdown and code cells are run', async () => {