Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Apr 3, 2024
1 parent d304bdd commit 97843a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ async function testEventsInternal({
actions,
recursive = false
}: TestEventsInternalOptions): Promise<FileEvent[]> {
const requestSentinelEvents = interval(1).pipe(map(() => "RequestSentinel" as const));
const requestSentinelEvents = interval(200).pipe(map(() => "RequestSentinel" as const));

Check failure on line 405 in index.test.ts

View workflow job for this annotation

GitHub Actions / Build and Test (ubuntu-latest, 18.x)

Cannot redeclare block-scoped variable 'requestSentinelEvents'.

Check failure on line 405 in index.test.ts

View workflow job for this annotation

GitHub Actions / Build and Test (ubuntu-latest, 20.x)

Cannot redeclare block-scoped variable 'requestSentinelEvents'.

Check failure on line 405 in index.test.ts

View workflow job for this annotation

GitHub Actions / Build and Test (ubuntu-latest, 21.x)

Cannot redeclare block-scoped variable 'requestSentinelEvents'.
const requestSentinelEvents = interval(200).pipe(map(() => "RequestSentinel" as const));

Check failure on line 406 in index.test.ts

View workflow job for this annotation

GitHub Actions / Build and Test (ubuntu-latest, 18.x)

Cannot redeclare block-scoped variable 'requestSentinelEvents'.

Check failure on line 406 in index.test.ts

View workflow job for this annotation

GitHub Actions / Build and Test (ubuntu-latest, 20.x)

Cannot redeclare block-scoped variable 'requestSentinelEvents'.

Check failure on line 406 in index.test.ts

View workflow job for this annotation

GitHub Actions / Build and Test (ubuntu-latest, 21.x)

Cannot redeclare block-scoped variable 'requestSentinelEvents'.
const internalEvents = new Subject<InternalEvent>();
const fileEvents = observeFileEvents({path, recursive});

Expand Down Expand Up @@ -458,7 +459,7 @@ async function testEventsInternal({
concatWith(
event === "SeenWrittenSentinel"
? of({event: "DelayAfterSeenSentinel", state} as const).pipe(
delay(2)
delay(500)
)
: EMPTY
)
Expand Down

0 comments on commit 97843a6

Please sign in to comment.