-
Notifications
You must be signed in to change notification settings - Fork 4
/
html2json_test.js
37 lines (33 loc) · 1000 Bytes
/
html2json_test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
var grunt = require('grunt');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actual, expected, [message])
test.deepEqual(actual, expected, [message])
test.notDeepEqual(actual, expected, [message])
test.strictEqual(actual, expected, [message])
test.notStrictEqual(actual, expected, [message])
test.throws(block, [error], [message])
test.doesNotThrow(block, [error], [message])
test.ifError(value)
*/
exports['html2json'] = {
// setUp: function(done) {
// // setup here
// "use strict";
// done();
// },
// 'helper': function(test) {
// "use strict";
// test.expect(1);
// // tests here
// //test.equal(grunt.helper('html2json'), 'html2json!!!', 'should return the correct value.');
// test.done();
// }
};