about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/javascript/setup.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/javascript/setup.js b/spec/javascript/setup.js
index 0d07f74d8..24f21db72 100644
--- a/spec/javascript/setup.js
+++ b/spec/javascript/setup.js
@@ -1,12 +1,8 @@
+import { jsdom } from 'jsdom/lib/old-api';
 import chai from 'chai';
 import chaiEnzyme from 'chai-enzyme';
 chai.use(chaiEnzyme());
 
-/**
- * http://airbnb.io/enzyme/docs/guides/jsdom.html
- */
-var jsdom = require('jsdom').jsdom;
-
 var exposedProperties = ['window', 'navigator', 'document'];
 
 global.document = jsdom('');