I understand what idempotent routing does (which should not re-run the action function when Router.go is called). I just don't get it why it fails to work on the test case when I transferred it to new ES2015 BDD style test case.
Here's the snippet of the test case on the old code.
I understand what idempotent routing does (which should not re-run the action function when Router.go is called). I just don't get it why it fails to work on the test case when I transferred it to new ES2015 BDD style test case.
Here's the snippet of the test case on the old code.
and here's the new BDD style
The output turns out this way:
Can you check what I did wrong?