mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-02-04 03:56:19 +00:00
rebuilt tests using tape, prova.
This commit is contained in:
19
Gruntfile.js
19
Gruntfile.js
@@ -15,15 +15,6 @@ module.exports = function(grunt) {
|
||||
require('time-grunt')(grunt);
|
||||
|
||||
grunt.initConfig({
|
||||
mochaTest: {
|
||||
notify: {
|
||||
src: 'test/**/*.test.js',
|
||||
options: {
|
||||
reporter: 'spec'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc'
|
||||
@@ -39,17 +30,17 @@ module.exports = function(grunt) {
|
||||
|
||||
require('load-grunt-tasks')(grunt);
|
||||
|
||||
grunt.registerTask('test', [
|
||||
'jshint',
|
||||
'mochaTest'
|
||||
grunt.registerTask('lint', [
|
||||
'jshint'
|
||||
]);
|
||||
|
||||
grunt.registerTask('default', [
|
||||
'test'
|
||||
'lint'
|
||||
]);
|
||||
|
||||
grunt.registerTask('pre-publish', [
|
||||
'test',
|
||||
'lint',
|
||||
'repos',
|
||||
'readme'
|
||||
]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user