diff --git a/test/Function overwrite arg should overwrite existing globals.js b/test/Function overwrite arg should overwrite existing globals.js index c771401..485d762 100644 --- a/test/Function overwrite arg should overwrite existing globals.js +++ b/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); });