-
Notifications
You must be signed in to change notification settings - Fork 383
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
test: add typescript test #192
Conversation
test/fixtures/kitchen/package.json
Outdated
"start": "node build/src/index.js" | ||
}, | ||
"keywords": [], | ||
"author": "Justin Beckwith <justin.beckwith@gmail.com>", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
test/fixtures/kitchen/package.json
Outdated
}, | ||
"keywords": [], | ||
"author": "Justin Beckwith <justin.beckwith@gmail.com>", | ||
"license": "MIT", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.
LGTM w/ a nit
test/test.kitchen.ts
Outdated
if (code === 0) { | ||
resolve(); | ||
} else { | ||
reject(`Spawn failed with an exit code of ${code}`); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Adding a test to make sure the module works with TypeScript as expected. Covers #177 and #178 and confuses me with #179.