Browse Source

Add test to check existing node globals don't get overwritten

pull/19/head
Luke Childs 9 years ago
parent
commit
4652a3ffb7
  1. 8
      test/Existing node globals shouldn't get overwritten.js

8
test/Existing node globals shouldn't get overwritten.js

@ -0,0 +1,8 @@
import test from 'ava';
import browserEnv from '../dist';
test(t => {
const origConsole = console;
browserEnv();
t.is(origConsole, console);
});
Loading…
Cancel
Save