This commit is contained in:
parent
31cc9e056a
commit
d794b30bb5
10 changed files with 204 additions and 176 deletions
3
tests/buttonEvents/Effects/List.test.ts
Normal file
3
tests/buttonEvents/Effects/List.test.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
test.todo("GIVEN pageOption is NOT a number, EXPECT error");
|
||||
|
||||
test.todo("GIVEN pageOption is a number, EXPECT interaction updated");
|
21
tests/buttonEvents/Effects/Use.test.ts
Normal file
21
tests/buttonEvents/Effects/Use.test.ts
Normal file
|
@ -0,0 +1,21 @@
|
|||
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");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue