Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Commit ec66f43

Browse files
committed
Initial test
1 parent 9374e36 commit ec66f43

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
dest
22
.vscode
3+
.grunt
34
npm-debug.log
45
node_modules

grunt-tasks/test.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"use strict";
2+
3+
module.exports = {
4+
templateEngine: {
5+
src: "tests/*.js"
6+
}
7+
};

gruntfile.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = function (grunt) {
2323
copy: require("./grunt-tasks/copy"),
2424
eslint: require("./grunt-tasks/eslint"),
2525
htmlmin: require("./grunt-tasks/htmlmin"),
26+
jasmine: require("./grunt-tasks/test"),
2627
replace: require("./grunt-tasks/replace"),
2728
sass: require("./grunt-tasks/sass"),
2829
uglify: require("./grunt-tasks/uglify"),

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"grunt-contrib-connect": "^0.10.1",
2121
"grunt-contrib-copy": "^0.8.0",
2222
"grunt-contrib-htmlmin": "^0.4.0",
23+
"grunt-contrib-jasmine": "^0.9.2",
2324
"grunt-contrib-uglify": "^0.9.1",
2425
"grunt-contrib-watch": "^0.6.1",
2526
"grunt-eslint": "^15.0.0",
@@ -35,4 +36,4 @@
3536
"type": "Copyright"
3637
}
3738
]
38-
}
39+
}

tests/templateengine.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"use strict";
2+
3+
var templateEngineModule = require("dest/templateengine/templateengine.js");
4+
5+
describe("TemplateEngine", function () {
6+
it("should be requirable", function () {
7+
expect(templateEngineModule).toBeDefined();
8+
});
9+
});

0 commit comments

Comments
 (0)