Skip to content

tests: add tests for init#1419

Merged
jamesgeorge007 merged 21 commits into
nextfrom
chore/test-init
Apr 16, 2020
Merged

tests: add tests for init#1419
jamesgeorge007 merged 21 commits into
nextfrom
chore/test-init

Conversation

@rishabh3112

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?
Tests for init package

Did you add tests for your changes?
Yes

If relevant, did you update the documentation?
Not Applicable

Summary
Add tests for init package as part of roadmap.

Does this PR introduce a breaking change?
No

Other information
After this we would discuss more about the scaffold strategy and integrate it with CLI

@rishabh3112
rishabh3112 requested a review from a team as a code owner April 5, 2020 04:51
Comment thread test/init/auto/init-auto.test.js

@alexander-akait alexander-akait left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need improve tests, good work

@alexander-akait alexander-akait left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move all tests under the __tests__ directory, avoid adding .gitignore

Comment thread packages/webpack-cli/__tests__/init/generator/init-inquirer.test.js Outdated
Comment thread packages/webpack-cli/__tests__/init/auto/init-auto.test.js
Comment thread .gitignore Outdated
Comment thread test/utils/test-utils.js
@alexander-akait

Copy link
Copy Markdown
Member

/cc @webpack/cli-team

@webpack-bot

Copy link
Copy Markdown

@rishabh3112 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@jamesgeorge007 Please review the new changes.

Comment thread test/utils/test-utils.js Outdated

@anshumanv anshumanv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nicenicenice

@jamesgeorge007
jamesgeorge007 merged commit 452035b into next Apr 16, 2020
@jamesgeorge007
jamesgeorge007 deleted the chore/test-init branch April 16, 2020 14:46
@jamesgeorge007

Copy link
Copy Markdown
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants