testing and clients are 'online' and working know to get the tests running againts an actual ES node

This commit is contained in:
Spencer Alger
2013-09-27 12:46:45 -07:00
parent 0ac81e1989
commit e21fb21ee3
228 changed files with 51083 additions and 921 deletions

View File

@ -35,10 +35,11 @@ module.exports = function (grunt) {
}
},
nodeunit: {
nodeunit: {
all: [
'test/**/*.test.js'
]
all: [
'test/unit/*.test.js'
],
options: {
reporter: 'default'
}
},
jshint: {
@ -59,12 +60,30 @@ module.exports = function (grunt) {
jshintrc: 'test/.jshintrc'
}
}
},
yuidoc: {
compile: {
name: '<%= pkg.name %>',
description: '<%= pkg.description %>',
version: '<%= pkg.version %>',
url: '<%= pkg.homepage %>',
logo: '<%= pkg.logo %>',
options: {
paths: 'src',
themedir: '../yuidoc-bootstrap-theme',
helpers: [
'../yuidoc-bootstrap-theme/helpers/helpers.js'
],
outdir: 'docs'
}
}
}
});
// load plugins
grunt.loadNpmTasks('grunt-contrib-nodeunit');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-yuidoc');
// Default task.