Skip to content

Commit

Permalink
Patch: test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
willosof committed Jun 13, 2019
1 parent a480336 commit a24a45f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/module-syntax.js
Expand Up @@ -19,6 +19,7 @@ describe('package.json main script exists', function () {
var main_script = "./lib/module/"+module+"/"+ js.main;
var main_lib = "../lib/module/"+module;
it(module, function () {
this.timeout(10000);
assert.pathExists(main_script, module);
});
}
Expand All @@ -34,6 +35,7 @@ describe('Module loads', function () {
var main_script = "./lib/module/"+module+"/"+ js.main;
var main_lib = "../lib/module/"+module;
it(module, function () {
this.timeout(10000);
var mod = require(main_lib);
});
}
Expand Down

0 comments on commit a24a45f

Please sign in to comment.