This website works better with JavaScript.
Home
Explore
Help
Sign In
jan
/
mustache.js
mirror of
https://github.com/janl/mustache.js
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
46
Wiki
Activity
Browse Source
use chai for improved string diffing
tags/v2.1.0
David da Silva
11 years ago
parent
abd32f0f4b
commit
954a8fbf15
3 changed files
with
5 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
package.json
+3
-1
test/helper.js
+1
-1
test/render-test.js
+ 1
- 0
package.json
View File
@@ -39,6 +39,7 @@
"test-browser-local": "npm run pre-test-browser && zuul --local 8080 -- test/context-test.js test/scanner-test.js test/parse-test.js test/render-test-browser.js"
},
"devDependencies": {
"chai": "^2.3.0",
"eslint": "^0.20.0",
"mocha": "^2.1.0",
"zuul": "^2.1.1"
+ 3
- 1
test/helper.js
View File
@@ -1,2 +1,4 @@
assert = require('assert');
var chai = require('chai');
assert = chai.assert;
chai.should();
Mustache = require('../mustache');
+ 1
- 1
test/render-test.js
View File
@@ -20,7 +20,7 @@ describe('Mustache.render', function () {
output = Mustache.render(test.template, view);
}
assert.equal(output,
test.expect);
output.should.equal(
test.expect);
});
});
Write
Preview
Loading…
Cancel
Save