-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated README.md and added mocha to run the existing test. #1
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"description": "Memory leak testing for node. Write tests using your favorite test runner.", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "standard lib/**/*.js" | ||
"test": "node_modules/.bin/standard lib/**/*.js && node_modules/.bin/mocha test" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. npm adds There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I didn't know they added this. Thank you. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 Sure thing! Here's that section in the docs, in case you're interested in reading more: https://docs.npmjs.com/misc/scripts#path |
||
}, | ||
"author": "Andy Wermke <andy@dev.next-step-software.com>", | ||
"license": "MIT", | ||
|
@@ -15,6 +15,7 @@ | |
"pretty-bytes": "^4.0.2" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^3.2.0", | ||
"standard": "^8.6.0" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! It took me a moment to figure out why my import wasn't working before I discovered the name was different.