Fix formatting

This commit is contained in:
2026-07-19 14:03:09 +00:00
parent 3dd1766ef0
commit a395596883
2 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ const testPushComposedPushAndConsume = async (): Promise<void> => {
const iterator = new AsyncPushIterator<number>();
const result = new Promise<number[]>((resolve) => {
void (async () => {
void (async (): Promise<void> => {
resolve(await collectAll(iterator));
})();
});
@@ -62,7 +62,7 @@ const testPushComposedResolvesWithNoValues = async (): Promise<void> => {
const iterator = new AsyncPushIterator<number>();
const result = new Promise<number[]>((resolve) => {
void (async () => {
void (async (): Promise<void> => {
resolve(await collectAll(iterator));
})();
});
@@ -79,7 +79,7 @@ const testPushComposedIgnoresValuesAfterClose = async (): Promise<void> => {
const iterator = new AsyncPushIterator<number>();
const result = new Promise<number[]>((resolve) => {
void (async () => {
void (async (): Promise<void> => {
resolve(await collectAll(iterator));
})();
});
@@ -106,14 +106,14 @@ const testPushComposedRejectsMultipleConsumers = async (): Promise<void> => {
const successfulIterator = (): Promise<number[]> =>
new Promise((resolve) => {
void (async () => {
void (async (): Promise<void> => {
resolve(await collectAll(iterator));
})();
});
const failedIterator = (): Promise<void> =>
new Promise((resolve, reject) => {
void (async () => {
void (async (): Promise<void> => {
try {
/* eslint-disable-next-line */
for await (const _value of iterator) {