test: ensure sandbox dir is present

Fix test/browser.test.js failing on CI due to sandbox dir not present
on the first run.
This commit is contained in:
Miroslav Bajtoš 2014-08-19 09:26:57 +02:00
parent 34de593202
commit 0169f22cd0
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ var vm = require('vm');
describe('browser support', function() {
this.timeout(60000); // 60s to give browserify enough time to finish
beforeEach(sandbox.reset);
it('has API for bundling and executing boot instructions', function(done) {
var appDir = path.resolve(__dirname, './fixtures/browser-app');