]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
chore: increase mocha tests timeout 11333/head
authorNicolas Coden <nicolas@ncoden.fr>
Wed, 13 Jun 2018 20:57:41 +0000 (22:57 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Wed, 13 Jun 2018 20:57:41 +0000 (22:57 +0200)
Some tests still take too much time depending on the browser and system on BrowserStack.

test/javascript/index.html

index 9d27a78f2a198761380917ed0d16eb350f4f8bdc..fad596bc3130cbdcbeff163de94a09cf30a6d919 100644 (file)
     <script src="../../node_modules/chai-jquery/chai-jquery.js"></script>
     <script src="../../node_modules/sinon/pkg/sinon-no-sourcemaps.js"></script>
     <script>
-      mocha.setup('bdd');
+      mocha.setup({
+        ui: 'bdd',
+        timeout: 5000,
+      });
       chai.should();
     </script>
     <script src="lib/keyboard-event-mock.js"></script>