Skip to content

Commit

Permalink
Merge pull request #8 from ianeli1/fix-args
Browse files Browse the repository at this point in the history
New test case multiple args
  • Loading branch information
ianeli1 authored Jul 14, 2022
2 parents cd5bf9e + 5b24ce2 commit 042d816
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/e2e/routed.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ group("Standard routing", () => {
expect("1 2 3").toReturn("3");
});

test("extracts multiple arguments", () => {
expect("1 2 3 4").toReturn("3 4");
});

test("defaults to router value", () => {
expect("1 4").toReturn("default");
});
Expand Down

0 comments on commit 042d816

Please sign in to comment.