From 1a780a74bb19eda567b63df2887a04cbb40de099 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul0007@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:01:18 +0530 Subject: [PATCH] Update toString.spec.js --- dev/tests/spec/toString.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tests/spec/toString.spec.js b/dev/tests/spec/toString.spec.js index d9cb408..0b59588 100644 --- a/dev/tests/spec/toString.spec.js +++ b/dev/tests/spec/toString.spec.js @@ -1,7 +1,7 @@ /*jshint onevar:false */ //for node -var crossroads = crossroads || require('../../../dist/crossroads'); +let crossroads = crossroads || require('../../../dist/crossroads'); //end node @@ -16,8 +16,8 @@ describe('crossroads.toString() and route.toString()', function(){ it('should help debugging', function(){ - var count = 0, requests = []; - var a = crossroads.addRoute('/{foo}_{bar}'); + let count = 0, requests = []; + let a = crossroads.addRoute('/{foo}_{bar}'); a.matched.add(function(foo, bar){ expect(null).toEqual('fail: not a trigger test'); });