From a7697d520d777d643336579c7cb01b5438506269 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sun, 19 Jun 2016 15:58:13 +0100 Subject: [PATCH] Update tests to work with new config object --- ...nction overwrite arg should overwrite existing globals.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); });