Skip to content

Remove file fingerprints from e2e assertions #220

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 3 commits into from
Jan 13, 2022

Conversation

bholloway
Copy link
Owner

E2e tests use latest versions of contemporaneous libs and minor changes seem to yield unstable fingerprints on .css files.

This change redacts the fingerprints and allows, in most cases, webpack 4 and 5 to share the same source-map snapshots.

Some hackery was required to retrieve the name of the emitted .css file from the output directory given it is not easily available in env() or really anywhere outside assert().

Also commented the tests that no longer correctly reproduce the orphan-CR problem. I have tried to induce this problem a number of ways and have given up for now.

  • Tested Windows
  • Tested MacOS

@bholloway bholloway self-assigned this Jan 13, 2022
@bholloway bholloway added this to the v5 milestone Jan 13, 2022
@bholloway bholloway merged commit dd8222b into v5 Jan 13, 2022
@bholloway bholloway deleted the remove-file-fingerprints-from-e2e-assertions branch January 13, 2022 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant