node-serialport-bindings-cpp/Gruntfile.js
Francis Gulotta 540a96015c Add npm run stress to run stress tests
- Fixed the write memory leak test

 - failed attempt at a open close memory leak test



Closes #602
2016-04-03 21:21:26 -04:00

26 lines
537 B
JavaScript

'use strict';
module.exports = function(grunt) {
grunt.initConfig({
mochaTest: {
test: {
options: { reporter: 'spec' },
src: ['test/*.js']
}
},
eslint: {
src: [
'*.js',
'lib/**/*.js',
'test/**/*.js',
'bin/*.js'
]
}
});
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('gruntify-eslint');
grunt.registerTask('lint', ['eslint']);
grunt.registerTask('test', ['mochaTest']);
grunt.registerTask('default', ['lint', 'test']);
};