2020-12-16 04:31:02 +08:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const globalThreshold = 50; // Global code coverage threshold (as a percentage)
|
2015-04-14 22:55:57 +08:00
|
|
|
|
|
|
|
module.exports = function(grunt) {
|
|
|
|
grunt.initConfig({
|
2016-12-20 01:45:37 +08:00
|
|
|
qunit: {
|
|
|
|
all: ['js_tests/tests.html']
|
2015-04-14 22:55:57 +08:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2016-12-20 01:45:37 +08:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-qunit');
|
|
|
|
grunt.registerTask('test', ['qunit']);
|
2015-04-14 22:55:57 +08:00
|
|
|
grunt.registerTask('default', ['test']);
|
|
|
|
};
|