diff --git a/.gitignore b/.gitignore index ea6f62b3307..f6963c5503f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules .idea _SpecRunner.html +.grunt diff --git a/Gruntfile.js b/Gruntfile.js index 0a99e982a8b..cd70ad256e7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -140,7 +140,14 @@ module.exports = function (grunt) { specs: [ 'test/jasmine/spec/*Spec.js', 'test/jasmine/spec/*/*Spec.js' - ] + ], + template: 'test/JqueryHandsontableRunner.tmpl', + templateOptions: { + css: [ + 'lib/jQuery-contextMenu/jquery.contextMenu.css', + 'jquery.handsontable.css', + ] + } } } }); diff --git a/test/JqueryHandsontableRunner.tmpl b/test/JqueryHandsontableRunner.tmpl new file mode 100644 index 00000000000..a8bac9714f9 --- /dev/null +++ b/test/JqueryHandsontableRunner.tmpl @@ -0,0 +1,21 @@ + + + + + Jasmine Spec Runner +<% css.forEach(function(style){ %> + +<% }) %> + + + + +<% with (scripts) { %> + <% [].concat(jasmine, vendor, helpers, src, specs, reporters, start).forEach(function(script){ %> + + <% }) %> +<% }; %> + + + +