aboutsummaryrefslogtreecommitdiffstats
path: root/library/jquery.AreYouSure/Gruntfile.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-01 21:49:01 -0800
committerfriendica <info@friendica.com>2015-01-01 21:49:01 -0800
commit545e47933a0816699c68d98a7742a03260d6a54f (patch)
tree1590e642e1eb48c76dd7c82b4bab4bb93ddf344d /library/jquery.AreYouSure/Gruntfile.js
parent0286c5a35b7f6fb0f02e50110deb78ae66a028cf (diff)
parent9d4c4efb5176afe5284bc5c22df277510c64786b (diff)
downloadvolse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.gz
volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.bz2
volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'library/jquery.AreYouSure/Gruntfile.js')
-rw-r--r--library/jquery.AreYouSure/Gruntfile.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/library/jquery.AreYouSure/Gruntfile.js b/library/jquery.AreYouSure/Gruntfile.js
new file mode 100644
index 000000000..efca34c0a
--- /dev/null
+++ b/library/jquery.AreYouSure/Gruntfile.js
@@ -0,0 +1,26 @@
+module.exports = function(grunt) {
+ grunt.config.init({
+ karma: {
+ options: {
+ browsers: [ 'Chrome', 'Firefox', 'Safari', 'IE' ],
+ frameworks: [ 'jasmine' ],
+ reportSlowerThan: 500,
+ singleRun: true
+ },
+ unit: {
+ files: [
+ { pattern: 'bower_components/jquery/dist/jquery.min.js' },
+ { pattern: 'bower_components/jasmine-jquery/lib/jasmine-jquery.js' },
+ { pattern: 'jquery.are-you-sure.js' },
+ { pattern: 'spec/javascripts/*.js' },
+ { pattern: 'spec/javascripts/fixtures/**/*.html', included: false }
+ ]
+ }
+ }
+ });
+
+ grunt.registerTask('test', 'Run tests.', [ 'karma' ]);
+ grunt.registerTask('default', [ 'test' ]);
+
+ grunt.loadNpmTasks('grunt-karma');
+};