Remove chai configuration from hypermedia.spec.js
authorFrank Bessou <frank.bessou@logilab.fr>
Fri, 30 Jun 2017 14:35:03 +0200
changeset 239 d651819fbe6a
parent 238 dec96013fe33
child 240 6988c9d9bf09
Remove chai configuration from hypermedia.spec.js chai-as-promised is already configured in test/index.js which loads hypermedia.spec.js.
src/services/hypermedia.spec.js
--- a/src/services/hypermedia.spec.js	Fri Jun 30 14:21:36 2017 +0200
+++ b/src/services/hypermedia.spec.js	Fri Jun 30 14:35:03 2017 +0200
@@ -1,5 +1,3 @@
-import chai from 'chai';
-import chaiAsPromised from 'chai-as-promised';
 import sinon, {assert} from 'sinon';
 import {merge} from 'lodash/object';
 
@@ -7,8 +5,6 @@
 import {HttpHypermediaClient} from '../services/hypermedia';
 import {expect} from 'chai';
 
-chai.use(chaiAsPromised);
-
 describe('HttpHypermediaClient', () => {
 
     describe('getResource', () => {