Skip to content

Prevent unit/integration tests from running against stale build artifacts #55

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 2 commits into from
Jun 19, 2018

Conversation

DrewML
Copy link
Contributor

@DrewML DrewML commented Jun 18, 2018

Closes #54.

This PR is a:

[ ] New feature
[ ] Enhancement/Optimization
[ ] Refactor
[X] Bugfix
[ ] Test for existing code
[ ] Documentation

Summary

See #54 .

Additional information

@DrewML DrewML requested review from zetlen and jimbo June 18, 2018 23:09
@@ -16,7 +16,7 @@
"start:debug": "node --inspect-brk ./node_modules/.bin/webpack-dev-server --progress --color --env.phase development"
},
"dependencies": {
"@magento/peregrine": "^0.3.0",
"@magento/peregrine": "^0.4.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes a bug of mine from the monorepo transition that is preventing @magento/peregrine from being properly symlinked into venia-concept currently.

Copy link
Contributor

@zetlen zetlen left a comment

Choose a reason for hiding this comment

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

Looks great. One tiny thing.

'^src/(.+)': '<rootDir>/src/$1',
// Re-write imports to Peregrine to ensure they're not pulled from the
// (possibly outdated) build artifacts on disk in `dist`.
// Ideally this rule would be in the root Jest config, but Jest's config
Copy link
Contributor

Choose a reason for hiding this comment

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

One tiny thing: Please put something like TODO: review when Jest revs here so that these tech debt items from dependencies are searchable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@DrewML DrewML merged commit 99d3d81 into master Jun 19, 2018
@DrewML DrewML deleted the issue54 branch June 19, 2018 17:03
fnhipster pushed a commit to PMET-public/pwa-studio that referenced this pull request Apr 9, 2019
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