From 11a32f591434e5eda69a54fda23768b7cae49b58 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 9 Dec 2016 19:48:20 +0700 Subject: [PATCH] Test function returns a new instance --- test/Function shouldn't return the same instance.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/Function shouldn't return the same instance.js diff --git a/test/Function shouldn't return the same instance.js b/test/Function shouldn't return the same instance.js new file mode 100644 index 0000000..1925c22 --- /dev/null +++ b/test/Function shouldn't return the same instance.js @@ -0,0 +1,6 @@ +import test from 'ava'; +import browserEnv from '../src'; + +test(t => { + t.not(browserEnv(), browserEnv()); +});