Skip to content

Commit

Permalink
fix: fix test error check
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed May 3, 2024
1 parent 4148ddd commit 0647634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gptscript.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe("gptscript module", () => {
}

expect(out).toContain("Calvin Coolidge")
expect(err).toBeUndefined()
expect(err).toEqual("")
})

describe("run with test.gpt fixture", () => {
Expand Down Expand Up @@ -116,7 +116,7 @@ describe("gptscript module", () => {
}

expect(out).toContain("Calvin Coolidge")
expect(err).toBeUndefined()
expect(err).toEqual("")
})

test("aborting a run is reported correctly", async () => {
Expand Down

0 comments on commit 0647634

Please sign in to comment.