diff --git a/test/serviceproviders.test.js b/test/serviceproviders.test.js index 072570c..129706f 100644 --- a/test/serviceproviders.test.js +++ b/test/serviceproviders.test.js @@ -15,8 +15,7 @@ limitations under the License. */ const chai = require('chai') const expect = chai.expect -const chaiAsPromised = require("chai-as-promised") -chai.use(chaiAsPromised) +chai.use(require("chai-as-promised")) const request = require('supertest') const doipjs = require('../src') diff --git a/test/verify.test.js b/test/verify.test.js index 23151ba..f31ab04 100644 --- a/test/verify.test.js +++ b/test/verify.test.js @@ -15,8 +15,7 @@ limitations under the License. */ const chai = require('chai') const expect = chai.expect -const chaiAsPromised = require("chai-as-promised") -chai.use(chaiAsPromised) +chai.use(require("chai-as-promised")) const request = require('supertest') const doipjs = require('../src')