fix(core): update

This commit is contained in:
2020-10-15 18:14:53 +00:00
parent 51bce0b317
commit 8c6ac181b0
7 changed files with 131 additions and 146 deletions

View File

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