mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
- Fixed the write memory leak test - failed attempt at a open close memory leak test Closes #602
26 lines
537 B
JavaScript
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']);
|
|
};
|