Fixes tests without configured timeouts.

This commit is contained in:
jahorton 2019-06-03 14:32:50 +07:00
parent 36eccbcbe4
commit f029bbfa0c
2 changed files with 2 additions and 2 deletions

View file

@ -30,6 +30,7 @@ describe('Basic KeymanWeb', function() {
Modernizr.on('touchevents', function(result) {
if(!result) {
describe('Basic Toggle UI', function() {
this.timeout(kmwconfig.timeouts.scriptLoad);
beforeEach(function(done) {
this.timeout(kmwconfig.timeouts.uiLoad);

View file

@ -728,10 +728,9 @@ var FULL_RULE_SET = [].concat(DEADKEY_RULE_SET, ANY_CONTEXT_RULE_SET, ANY_INDEX_
*/
describe('Engine', function() {
this.timeout(kmwconfig.timeouts.scriptLoad);
before(function(done) {
this.timeout(kmwconfig.timeouts.scriptLoad);
fixture.setBase('unit_tests/fixtures');
setupKMW(null, done, kmwconfig.timeouts.scriptLoad);
});