test: ensure sandbox exists before using it

This commit is contained in:
Ryan Graham 2015-04-23 00:59:45 -07:00
parent 77029d9bbf
commit 516dfbe654
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ 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');