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

chore!: re-do graphql schema snapshot testing #911

Merged
merged 2 commits into from Jan 16, 2022

Conversation

Leksat
Copy link
Member

@Leksat Leksat commented Jan 16, 2022

Package(s) involved

@amazeelabs/graphql-schema-test

Description of changes

In the previous implementation we had the Jest test file served with the package. This worked while we were running tests in silverback-mono. But Jest always ignores test files which path includes node_modules. So now the test file should be located in the tested project.

Motivation and context

It did not work in external projects.

Related Issue(s)

jestjs/jest#11781

In the previous implementation we had the Jest test file in the package. This worked while we were
running tests in silverback-mono. But Jest always ignores test files which path includes
`node_modules`. So now the test file should be located in the tested project.
@Leksat Leksat requested a review from pmelab January 16, 2022 12:19
@Leksat Leksat merged commit a98cbe6 into development Jan 16, 2022
@Leksat Leksat deleted the improve-grapql-snapshot-tests branch January 16, 2022 12:20
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

1 participant