Merge pull request #1932 from tmollov/master

Fix for Issue #1866
This commit is contained in:
Ilya Kantor 2020-06-01 09:57:44 +03:00 committed by GitHub
commit a701341f82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,11 @@
describe("test", function() {
// Mocha usually waits for the tests for 2 seconds before considering them wrong
this.timeout(200000); // With this code we increase this - in this case to 200,000 milliseconds
// This is because of the "alert" function, because if you delay pressing the "OK" button the tests will not pass!
before(() => alert("Testing started before all tests"));
after(() => alert("Testing finished after all tests"));