Skip to content

Commit

Permalink
Fix silly test type
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Dec 11, 2024
1 parent e8c02dc commit bc6573b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/inngest/src/components/execution/als.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ describe("getAsyncCtx", () => {

const inngest = new Inngest({ id: "test" });

let resolve: (value: AsyncContext | undefined) => void;
let resolve: (
value: AsyncContext | PromiseLike<AsyncContext | undefined> | undefined
) => void;
const externalP = new Promise<AsyncContext | undefined>((r) => {
resolve = r;
});
Expand Down Expand Up @@ -117,7 +119,9 @@ describe("getAsyncCtx", () => {

const inngest = new Inngest({ id: "test" });

let resolve: (value: AsyncContext | undefined) => void;
let resolve: (
value: AsyncContext | PromiseLike<AsyncContext | undefined> | undefined
) => void;
const externalP = new Promise<AsyncContext | undefined>((r) => {
resolve = r;
});
Expand Down

0 comments on commit bc6573b

Please sign in to comment.