//reset these each test1var activity;23//create the router4var router = new Router();56//setup/takedown7module("SS.js", {8setup: function() {9window.location.hash = "";10activity = 0;;11},12teardown: function() {13window.location.hash = "";14}15});161718asyncTest("adhoc routing", function() {1920//2122router.path('/a', function() {2324// the bennifit of calling `this.route` as opposed to `this.get` or `this.post` is that25// you can continue to define the route structure (ad-hoc) and then assign units of logic26// per event type, there will be less repetition of definition, and the code will be more27// readable/centralized.2829this.path('/b', {30on: function() {},31after: function() {}32before: function() {}33});3435});3637window.location.hash = "/a";3839});404142