Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = function (grunt) {
- grunt.initConfig({
- pkg: grunt.file.readJSON("package.json"),
- karma: {
- unit: {
- configFile: "karma.conf.js"
- }
- },
- watch: {
- files: ["src/*", "test/**/*"],
- tasks: ["default"]
- }
- });
- grunt.loadNpmTasks("grunt-contrib-watch");
- grunt.loadNpmTasks('grunt-karma');
- grunt.registerTask("default", ["karma:unit"]);
- }
Add Comment
Please, Sign In to add comment