Skip to content

Commit 4617304

Browse files
authored
Merge pull request #59 from njhale/chore/bump-v0.8.4
chore: bump gptscript version for v0.8.4 release
2 parents cdf9c7c + 9598712 commit 4617304

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
@@ -433,7 +433,7 @@ describe("gptscript module", () => {
433433
test("do not confirm", async () => {
434434
let confirmFound = false
435435
const t = {
436-
instructions: "List the files in the current working directory.",
436+
instructions: "List the files in the current directory as '.'. If that doesn't work print the word FAIL.",
437437
tools: ["sys.exec"]
438438
}
439439
const run = await g.evaluate(t, {confirm: true})
@@ -443,7 +443,7 @@ describe("gptscript module", () => {
443443
await g.confirm({id: data.id, accept: false, message: "I will not allow it!"})
444444
})
445445

446-
expect(await run.text()).toContain("authorization error")
446+
expect(await run.text()).toContain("FAIL")
447447
expect(run.err).toEqual("")
448448
expect(confirmFound).toBeTruthy()
449449
})

0 commit comments

Comments
 (0)