Skip to content

test: fix jest config and rename files #258

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

Merged
merged 5 commits into from
Sep 1, 2018
Merged

test: fix jest config and rename files #258

merged 5 commits into from
Sep 1, 2018

Conversation

jahed
Copy link
Contributor

@jahed jahed commented Aug 30, 2018

I had to change some tests to get them to work which I assume is because they weren't being run in the first place so weren't up-to-date. Details are in the commit messages.

Updated package-lock.json

The package-lock was also updated by npm (I just ran npm install). The caret dependencies likely caused a version mismatch on Webpack which made the test output different. Lock files shouldn't be using caret dependencies anyway since it defeats the point of a lock file which is to lock down specific transient versions. I'm not sure why npm was using carets in the first place, possibly from an older version. I'm using npm@5.6.0.

To ensure it's still correct, someone else might want to run them on their machine.

Fixed linting errors

Did this later as didn't see the CircleCI analysis step.

Type

  • Test

Issues

SemVer

  • Patch

jahed added 4 commits August 30, 2018 15:08
npm 5.6.0 wants to lock transient deps with exact versions which makes
sense
As far as I can tell, this should be 2.css, not 3.css as there's no
possible source file for it otherwise.
Webpack seems to have had recent changes which change how contenthash
is calculated for js files.
@jsf-clabot
Copy link

jsf-clabot commented Aug 30, 2018

CLA assistant check
All committers have signed the CLA.

@michael-ciniawsky michael-ciniawsky changed the title Fix tests test: fix jest config and rename files Sep 1, 2018
Copy link
Member

@michael-ciniawsky michael-ciniawsky left a comment

Choose a reason for hiding this comment

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

@jahed Thx 👍

@michael-ciniawsky michael-ciniawsky added this to the 0.4.3 milestone Sep 1, 2018
@michael-ciniawsky michael-ciniawsky merged commit 6323e17 into webpack-contrib:master Sep 1, 2018
@michael-ciniawsky michael-ciniawsky removed this from the 0.4.4 milestone Oct 2, 2018
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.

3 participants