add test helpers, add navbar tests

This commit is contained in:
Géry Debongnie
2019-01-29 10:46:01 +01:00
parent b024ce3183
commit dd75a17448
5 changed files with 126 additions and 10 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ function clearSlashes(s: string): string {
return s.replace(/\/$/, "").replace(/^\//, "");
}
type RouterEvent = "query_changed";
export type RouterEvent = "query_changed";
export interface IRouter {
navigate(query: Query): void;