Skip to content
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

tests: remove temp loader directory before and after test #1482

Merged
merged 5 commits into from
Apr 21, 2020

Conversation

knagaitsev
Copy link
Contributor

@knagaitsev knagaitsev commented Apr 18, 2020

What kind of change does this PR introduce?

test fix

Did you add tests for your changes?

No

If relevant, did you update the documentation?

No

Summary

The temp directory should be removed before and after the test

Edit: I also moved init tests to the test directory and improved how they handle generated files

Does this PR introduce a breaking change?

No

Other information

@anshumanv
Copy link
Member

We should do this for init tests as well, since they also generate some files.

package.json Outdated Show resolved Hide resolved
const { join } = require('path');
const { run } = require('../../../../../test/utils/test-utils');
const { run } = require('../..//utils/test-utils');
Copy link
Member

Choose a reason for hiding this comment

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

Double // 😄

anshumanv
anshumanv previously approved these changes Apr 20, 2020
Copy link
Member

@anshumanv anshumanv left a comment

Choose a reason for hiding this comment

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

Thanks Loonride! 😄

@jamesgeorge007 jamesgeorge007 merged commit c16789b into webpack:next Apr 21, 2020
@jamesgeorge007
Copy link
Member

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.

None yet

5 participants