Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make npm test use grunt, fix up grunt config

  • Loading branch information...
commit b5049becf01db28480a612028b87f77c32e838ef 1 parent a350ccd
Julian Gautier authored
2  gruntfile.js
View
@@ -1,7 +1,7 @@
module.exports = function (grunt) {
grunt.initConfig({
mochaTest: {
- files: [ 'test/firmata.js']
+ files: [ 'test/*.test.js']
},
jshint: {
all: [ 'gruntfile.js', 'lib/firmata.js', 'test/*.js', 'examples/*.js'],
2  package.json
View
@@ -24,7 +24,7 @@
"browser-serialport": "*"
},
"scripts": {
- "test": "mocha test/firmata.js test/encoder7bit.js test/onewireutils.js"
+ "test": "grunt"
},
"engines": {
"node": "*"
0  test/encoder7bit.js → test/encoder7bit.test.js
View
File renamed without changes
0  test/firmata.js → test/firmata.test.js
View
File renamed without changes
0  test/onewireutils.js → test/onewireutils.test.js
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.