-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
feat: provision to have test runners #146
Conversation
Thanks for opening this pull request! Please check out our contributing guidelines. |
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.
Left couple of comments.
if (testRunner === 'ava' && template === 'nuxt') { | ||
return; | ||
} |
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.
It seems Nuxt.js
works pretty much with Ava
. Can you clarify about this early return?
{ | ||
name: 'testRunner', | ||
type: 'list', | ||
message: 'Please select your test framework for your project', |
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.
message: 'Please select your test framework for your project', | |
message: 'Please select the test framework of choice', |
|
||
process.chdir(`${projectName}/client/`); | ||
|
||
const fetchSpinner = new Spinner(`Installing the ${testRunner}`); |
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.
const fetchSpinner = new Spinner(`Installing the ${testRunner}`); | |
const fetchSpinner = new Spinner(`Installing ${testRunner}`); |
closing due to inactivity. |
Description
Added user prompt to choose which test framework to proceed with.
Fixes #82
Please delete options that are not relevant.
Checklist: