Skip to content

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

@gretmn102

Description

@gretmn102

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions