Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(actionsEqual): the function does not respond if you run the game without actions #6

Open
gretmn102 opened this issue Dec 9, 2024 · 0 comments

Comments

@gretmn102
Copy link
Collaborator

gretmn102 commented Dec 9, 2024

describe("Actions equals", () => {
it("empty", async () => {
const testClient = await TestClient.start("tests/mocks", "actions.qsps", StartingLocation.mkCustom("startEmptyActions"))
// fix(actionsEqual): the function does not respond if you run the game without actions
await TestClient.actionsEqual(testClient, [
{ name: "start", image: ""},
])
await TestClient.select(testClient, "start")
await TestClient.actionsEqual(testClient, [])
})

Reproduction in fix-actions-equal branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant