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
test(client): add relationMode
datasource property tests for all databases
#14221
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jolg42
force-pushed
the
joel/referential-integrity
branch
from
July 8, 2022 15:39
47b552b
to
95e3bb9
Compare
Related: #10806 Test Suites: 1 failed, 1 total Tests: 3 failed, 45 passed, 48 total Snapshots: 0 total Time: 9.838 s
Jolg42
force-pushed
the
joel/referential-integrity
branch
from
July 8, 2022 15:50
95e3bb9
to
6b7f842
Compare
Note:
|
jkomyno
reviewed
Jul 12, 2022
packages/client/tests/functional/referential-integrity/tests.ts
Outdated
Show resolved
Hide resolved
Jolg42
commented
Jul 13, 2022
packages/client/tests/functional/referential-integrity/tests.ts
Outdated
Show resolved
Hide resolved
Jolg42
commented
Jul 13, 2022
packages/client/tests/functional/referential-integrity/tests.ts
Outdated
Show resolved
Hide resolved
Jolg42
commented
Jul 13, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: we need to await
expect(...).rejects/resolves.
(see linting errors)
Jolg42
commented
Jul 13, 2022
packages/client/tests/functional/referential-integrity/tests.ts
Outdated
Show resolved
Hide resolved
Jolg42
commented
Jul 13, 2022
packages/client/tests/functional/referential-integrity/tests.ts
Outdated
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/computeMatrix.ts
Outdated
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/computeMatrix.ts
Outdated
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/computeMatrix.ts
Outdated
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/computeSchemaHeader.ts
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/conditionalError.ts
Outdated
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/conditionalError.ts
Outdated
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
packages/client/tests/functional/_utils/relationMode/conditionalError.ts
Show resolved
Hide resolved
janpio
reviewed
Oct 11, 2022
janpio
reviewed
Oct 11, 2022
janpio
reviewed
Oct 11, 2022
janpio
reviewed
Oct 11, 2022
janpio
reviewed
Oct 11, 2022
# Conflicts: # pnpm-lock.yaml
Jolg42
changed the title
test(client): relationMode tests
test(client): add Oct 13, 2022
relationMode
datasource property tests for all databases
This was referenced Oct 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related: #10806
RELATION_MODE=foreignKeys pnpm run test:functional:code --relation-mode-tests-only RELATION_MODE=prisma pnpm run test:functional:code --relation-mode-tests-only pnpm run test:functional:code --relation-mode-tests-only # Or only one relation type by providing the file name: pnpm run test:functional:code --relation-mode-tests-only relationMode/tests_m-to-n.ts
How to run - Previously (early commit)
RELATION_MODE=foreignKeys pnpm run test:functional:code relationMode RELATION_MODE=prisma pnpm run test:functional:code relationMode pnpm run test:functional:code relationMode # Or only one relation type by providing the file name: pnpm run test:functional:code relationMode/tests_m-to-n.ts
and before
RI=foreignKeys pnpm run test:functional:code referential-integrity RI=prisma pnpm run test:functional:code referential-integrity pnpm run test:functional:code referential-integrity # Or only one relation type by providing the file name: pnpm run test:functional:code referential-integrity/tests_m-to-n.ts
Internal Notion pages