card-drop/tests/buttonEvents/Effects/Use.test.ts

21 lines
684 B
TypeScript
Raw Normal View History

2025-01-11 18:58:35 +00:00
describe("Use", () => {
test.todo("GIVEN subaction is confirm, EXPECT UseConfirm to be called");
test.todo("GIVEN subaction is cancel, EXPECT UseCancel to be called");
test.todo("GIVEN subaction is unknown, EXPECT nothing to be called");
});
describe("UseConfirm", () => {
test.todo("GIVEN effectDetail is not found, EXPECT error");
test.todo("GIVEN EffectHelper.UseEffect failed, EXPECT error");
test.todo("GIVEN EffectHelper.UseEffect succeeded, EXPECT interaction updated");
});
describe("UseCancel", () => {
test.todo("GIVEN effectDetail is not found, EXPECT error");
test.todo("GIVEN effectDetail is found, EXPECT interaction updated");
});