Browse Source

Update tests to work with new config object

pull/2/head
Luke Childs 9 years ago
parent
commit
a7697d520d
  1. 5
      test/Function overwrite arg should overwrite existing globals.js

5
test/Function overwrite arg should overwrite existing globals.js

@ -7,6 +7,9 @@ test(t => {
t.is(returnValue, window);
returnValue = browserEnv();
t.not(returnValue, window);
returnValue = browserEnv(['window'], true);
returnValue = browserEnv({
properties: ['window'],
overwrite: true
});
t.is(returnValue, window);
});

Loading…
Cancel
Save