From a57eda02f7f3023ac5829cc7501871cc7e2521eb Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 24 Oct 2020 22:28:42 +0200 Subject: [PATCH] Minor update --- test/serviceproviders.test.js | 3 +-- test/verify.test.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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')