From 97e0a4da441f18fa769aa224fbec3bee09fe46c0 Mon Sep 17 00:00:00 2001 From: yoshinorin Date: Wed, 15 Jun 2022 21:44:40 +0900 Subject: [PATCH] import and use 'chai-as-promised' --- test/scripts/model.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/scripts/model.js b/test/scripts/model.js index 82c69070..7aa0fc18 100644 --- a/test/scripts/model.js +++ b/test/scripts/model.js @@ -1,5 +1,9 @@ import chai from 'chai'; const should = chai.should(); // eslint-disable-line + +import chaiAsPromised from 'chai-as-promised'; +chai.use(chaiAsPromised ); + import lodash from 'lodash'; const { sortBy } = lodash; import Promise from 'bluebird';