Skip to content

Commit d74113f

Browse files
committed
implement a new useAsyncIterEffect hook
1 parent bc3e057 commit d74113f

File tree

9 files changed

+981
-9
lines changed

9 files changed

+981
-9
lines changed

spec/tests/Iterate.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ describe('`Iterate` component', () => {
857857

858858
it(
859859
gray(
860-
'When given a `ReactAsyncIterable` yielding `undefined`s or `null`s that wraps an iter which originally yields non-nullable values, processes the `undefined`s and `null` values expected'
860+
'When given a formatted iterable yielding `undefined`s or `null`s that wraps a source iter yielding non-null values, processes the `undefined`s and `null` values as expected'
861861
),
862862
async () => {
863863
const channel = new IteratorChannelTestHelper<string>();

spec/tests/useAsyncIter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ describe('`useAsyncIter` hook', () => {
619619

620620
it(
621621
gray(
622-
'When given a `ReactAsyncIterable` yielding `undefined`s or `null`s that wraps an iter which originally yields non-nullable values, returns the `undefined`s and `null`s in the result as expected (https://github.com/shtaif/react-async-iterators/pull/32)'
622+
'When given a formatted iterable yielding `undefined`s or `null`s that wraps a source iter yielding non-null values, returns the `undefined`s and `null`s in the result as expected (https://github.com/shtaif/react-async-iterators/pull/32)'
623623
),
624624
async () => {
625625
const channel = new IteratorChannelTestHelper<string>();

0 commit comments

Comments
 (0)