Skip to content

Commit 17b0133

Browse files
committed
add valgrind nam run command
`brew install valgrind`
1 parent 47cda80 commit 17b0133

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
"gyp-rebuild": "node-gyp rebuild",
9494
"stress": "mocha --no-timeouts test/arduinoTest/stress.js",
9595
"grunt": "grunt",
96-
"test": "grunt --verbose"
96+
"test": "grunt --verbose",
97+
"valgrind": "valgrind --leak-check=full --show-possibly-lost=no node --expose-gc --trace-gc node_modules/.bin/grunt test"
9798
},
9899
"gypfile": true
99100
}

0 commit comments

Comments
 (0)