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

Support tsconfig.json paths in Jest #698

Merged
merged 4 commits into from
Nov 25, 2021
Merged

Support tsconfig.json paths in Jest #698

merged 4 commits into from
Nov 25, 2021

Conversation

72636c
Copy link
Member

@72636c 72636c commented Nov 25, 2021

Per #696

@changeset-bot
Copy link

changeset-bot bot commented Nov 25, 2021

🦋 Changeset detected

Latest commit: c32f2b3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
skuba Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@72636c 72636c marked this pull request as ready for review November 25, 2021 12:34
@72636c 72636c requested a review from a team as a code owner November 25, 2021 12:34

const paths = Object.fromEntries(
Object.entries(parsedConfig.options.paths ?? DEFAULT_PATHS).flatMap(
([key, values]) => [
Copy link
Contributor

Choose a reason for hiding this comment

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

Some tactical comments could help here

@72636c 72636c merged commit 1a40ea5 into master Nov 25, 2021
@72636c 72636c deleted the jest-module-aliases branch November 25, 2021 23:27
@github-actions github-actions bot mentioned this pull request Nov 25, 2021
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.

None yet

2 participants