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

refactor: Allow integration tests to use source code #25

Merged
merged 3 commits into from
Apr 11, 2019

Conversation

hedgepigdaniel
Copy link
Collaborator

There is one remaining issue which I think will be fixed as soon as the PR here is released and we upgrade jest: jestjs/jest#7787

This removes the src/ in imports from the integration-tests package and makes the integration tests instead import the raw uncompiled source code. This means that its no longer necessary to build packages before the integration tests can test their latest versions.

The trick was to use the moduleNamemapper: jestjs/jest#2702

@hedgepigdaniel
Copy link
Collaborator Author

@faceyspacey you might find this addresses your concern about DX? LMK if there's anything else in the master branch that is not convenient for you dev workflow, obviously I'd like for it to be convenient for you.

@hedgepigdaniel hedgepigdaniel merged commit b5c3d34 into master Apr 11, 2019
@hedgepigdaniel hedgepigdaniel deleted the refactor/jest-import branch April 15, 2019 00:28
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.

2 participants