Skip to content

Commit

Permalink
fix: test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat committed Jun 12, 2024
1 parent e85e368 commit 95c79a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/example-ts/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import runner from "./index"
describe("application runner", () => {
test("should print info logs", async () => {
await runner({ input: { name: "name" } }, context)
expect(info).toHaveBeenCalledTimes(1)
expect(info).toHaveBeenCalledWith("hello name")
expect(info).toHaveBeenCalledTimes(2)
expect(info).toHaveBeenLastCalledWith("hello name")
})
})

0 comments on commit 95c79a9

Please sign in to comment.