Skip to content

tests: add more tests for init#1508

Merged
jamesgeorge007 merged 64 commits into
nextfrom
tests/more-init
May 23, 2020
Merged

tests: add more tests for init#1508
jamesgeorge007 merged 64 commits into
nextfrom
tests/more-init

Conversation

@rishabh3112

@rishabh3112 rishabh3112 commented Apr 29, 2020

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?
tests

Did you add tests for your changes?
N/A

If relevant, did you update the documentation?
N/A

Summary
As per suggestions by evilebottnawi,
we are adding exhaustive tests for init command, then refactor it if needed and then integrate it with CLI.

Does this PR introduce a breaking change?
No

Other information
Part of integrating init with CLI by default (as per roadmap)
More info #1509

@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.

/cc @webpack/cli-team

jamesgeorge007
jamesgeorge007 previously approved these changes Apr 29, 2020
@alexander-akait

Copy link
Copy Markdown
Member

/cc @rishabh3112 Ready for merge or still WIP

@rishabh3112

Copy link
Copy Markdown
Contributor Author

@jamesgeorge007 wait, it's WIP as in the title.

@alexander-akait

Copy link
Copy Markdown
Member

@rishabh3112 My recommendation is using Still in progress? Convert to draft in future to avoid misleading situations

@rishabh3112
rishabh3112 marked this pull request as draft April 29, 2020 11:24
@rishabh3112 rishabh3112 changed the title tests: add more tests for init [WIP] tests: add more tests for init Apr 29, 2020
@rishabh3112

rishabh3112 commented May 5, 2020

Copy link
Copy Markdown
Contributor Author

Build error (in the jest update PR) was also encountered here, let me see if it works when synced with next again.

EDIT
It doesn't

@anshumanv

Copy link
Copy Markdown
Contributor

@rishabh3112

Copy link
Copy Markdown
Contributor Author

Then, we can ignore types for now as migrate is not written for webpack 5.

@anshumanv

Copy link
Copy Markdown
Contributor

#1523 should fix it

@alexander-akait

Copy link
Copy Markdown
Member

/cc @webpack/cli-team

Comment thread test/init/generator/init-inquirer.test.js Outdated
Comment thread packages/generators/src/init-generator.ts Outdated

@wizardofhogwarts wizardofhogwarts 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.

Lgtm. It can be merged.

@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.

Good job!

@webpack-bot

Copy link
Copy Markdown

@jamesgeorge007 Thanks for your update.

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

@anshumanv Please review the new changes.

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.

8 participants