Added tests for static functions.

This commit is contained in:
Kevin Wilson
2015-05-27 15:13:48 +01:00
parent 34ef6f1dd3
commit e2e6bdb50d

View File

@@ -54,4 +54,24 @@ routie("users/12312312");
routie("*", function () {
});
routie("anything");
routie("anything");
// STATIC
// Lookup
var existing = routie.lookup("users/bob", () => {
});
// Remove
routie.remove("users/bob", () => {
});
// RemoveAll
routie.removeAll();
// Navigate
routie.navigate("users/bob");
routie.navigate("users/bob", { silent: true });
// NoConflict
var myRoutie = routie.noConflict();