Skip to content

Commit 0647634

Browse files
committed
fix: fix test error check
Signed-off-by: Donnie Adams <[email protected]>
1 parent 4148ddd commit 0647634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/gptscript.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("gptscript module", () => {
6060
}
6161

6262
expect(out).toContain("Calvin Coolidge")
63-
expect(err).toBeUndefined()
63+
expect(err).toEqual("")
6464
})
6565

6666
describe("run with test.gpt fixture", () => {
@@ -116,7 +116,7 @@ describe("gptscript module", () => {
116116
}
117117

118118
expect(out).toContain("Calvin Coolidge")
119-
expect(err).toBeUndefined()
119+
expect(err).toEqual("")
120120
})
121121

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

0 commit comments

Comments
 (0)