From 3699de95d961907b87e5fc5ac1e00de72fbdbc55 Mon Sep 17 00:00:00 2001 From: anilhelvaci Date: Mon, 17 Jun 2024 18:28:54 +0300 Subject: [PATCH] fixup(liquidationVisibility): Remove `allValuesSetteled()` Refs: #35 --- packages/internal/test/utils.test.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/internal/test/utils.test.js b/packages/internal/test/utils.test.js index b50010a263f..27d391ca488 100644 --- a/packages/internal/test/utils.test.js +++ b/packages/internal/test/utils.test.js @@ -10,7 +10,6 @@ import { forever, deeplyFulfilledObject, synchronizedTee, - allValuesSettled, } from '../src/utils.js'; test('deeplyFulfilledObject', async t => { @@ -218,17 +217,3 @@ test('synchronizedTee - consume synchronized', async t => { t.deepEqual(output1, sourceData.slice(0, i)); t.deepEqual(output2, sourceData.slice(0, i)); }); - -test('allValuesSettled', async t => { - const result = await allValuesSettled({ - promiseOne: Promise.resolve('I am a happy promise - One'), - promiseTwo: Promise.reject(new Error('I am an upset promise')), - promiseThree: Promise.resolve('I am a happy promise - Three'), - }); - - t.deepEqual(result, { - promiseOne: 'I am a happy promise - One', - promiseTwo: undefined, - promiseThree: 'I am a happy promise - Three', - }); -});