diff --git a/test/README.md b/test/README.md index 987128a..a2b2d85 100644 --- a/test/README.md +++ b/test/README.md @@ -1,10 +1,10 @@ # Agility.js - Unit tests -To test core components _without_ persistence point your browser to: +To test core components _without_ persistence (which requires Node.js), point your browser to: - http://localhost/agility/test/core_only.html + public/core_only.html -To run the full test including persistence you need `node` and `npm`. From the command line: +To run the full test including persistence you will need `node` and `npm`. From the command line: npm install node server.js @@ -12,4 +12,3 @@ To run the full test including persistence you need `node` and `npm`. From the c Then point your browser to: http://localhost:8222/ - diff --git a/test/public/core.js b/test/public/core.js index df0c549..7e99be0 100644 --- a/test/public/core.js +++ b/test/public/core.js @@ -7,13 +7,13 @@ // // -------------------------------- - module("JSHint"); - - test("JSHint", function(){ - var result = JSHINT(window.agilitySource, {proto:true}); - var errors = result ? '' : JSHINT.errors; - equals(errors, '', "JSHint test"); - }); + // module("JSHint"); + // + // test("JSHint", function(){ + // var result = JSHINT(window.agilitySource, {proto:true}); + // var errors = result ? '' : JSHINT.errors; + // equals(errors, '', "JSHint test"); + // }); // -------------------------------- // diff --git a/test/core_only.html b/test/public/core_only.html similarity index 64% rename from test/core_only.html rename to test/public/core_only.html index e97520e..5009863 100644 --- a/test/core_only.html +++ b/test/public/core_only.html @@ -16,12 +16,19 @@
- - + + - +