const {expect} = chai; const chaiAsPromised = require("chai-as-promised"); chai.use(chaiAsPromised); chai.should()