fix(core): update

This commit is contained in:
2019-03-26 12:07:12 +01:00
parent 5138219563
commit 25c0deb3f3
7 changed files with 57 additions and 49 deletions

View File

@ -18,8 +18,12 @@ tap.test('should let types flow through the Promise', async () => {
tap.test('should map callbacks', async () => {
let inputArray = ['hi', 'awesome'];
const myPromisified = async (myInput) => { return myInput };
const expectPromise = expect(q.map(inputArray, myPromisified)).to.eventually.deep.equal(inputArray);
const myPromisified = async myInput => {
return myInput;
};
const expectPromise = expect(q.map(inputArray, myPromisified)).to.eventually.deep.equal(
inputArray
);
return expectPromise;
});