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

Update unit test guide #2110

Merged
merged 13 commits into from
Aug 9, 2021
Merged

Update unit test guide #2110

merged 13 commits into from
Aug 9, 2021

Conversation

molebox
Copy link
Contributor

@molebox molebox commented Aug 9, 2021

A recent breaking change was introduced in jest-mock-extended which resulted in our unit testing guide breaking for our users. This PR addresses the breaking change in our docs.

Fixes: #2109

@molebox molebox merged commit aad7e8e into main Aug 9, 2021
@molebox molebox deleted the update-unit-test-guide branch August 9, 2021 06:29
matthewmueller pushed a commit that referenced this pull request Aug 10, 2021
* Cross linked debug info

* Changed import to new interface
matthewmueller added a commit that referenced this pull request Aug 10, 2021
* add interactive transaction documentation

* make husky executable

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <hello@richardhaines.dev>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <hello@richardhaines.dev>

* fix(prisma-client-reference): Specify atomic number operations behavior on null values (#2077)

Clarify behaviour of null values with atomic number operations

* Typo in Line 2159 "isAdmmin" of 100-prisma-schema-reference (#2100)

Fixed by changing isAdmmin to isAdmin.

* Update About section with release notes (#2099)

* add npm install --save bson (#2097)

* add npm install --save bson

* Update content/200-concepts/200-database-connectors/07-mongodb.mdx

Co-authored-by: Rich Haines <hello@richardhaines.dev>

Co-authored-by: Rich Haines <hello@richardhaines.dev>

* Ref actions update table (#2103)

* Cross linked debug info

* Added note to update table about migrate and schema - ref actions

* fix(data-model): model => data model (#1980)

Fix a few location where it used `model` but `data model` was meant.

* fix(environment-variables-reference): Elaborate on PRISMA_QUERY_ENGINE_BINARY (#2069)

* fix(environment-variables-reference): Elaborate on PRISMA_QUERY_ENGINE_BINARY

* Update content/400-reference/200-api-reference/300-environment-variables-reference.mdx

Co-authored-by: Rich Haines <hello@richardhaines.dev>

Co-authored-by: Rich Haines <hello@richardhaines.dev>

* fix(deps): update dependency @prisma/lens to v0.0.196

* Update unit test guide (#2110)

* Cross linked debug info

* Changed import to new interface

* Fix prisly links on error code page (#2111)

* Cross linked debug info

* Fixed broken links on error code page

* fix: 085-query-optimization-performance.mdx (#2108)

* Indent admonition to preserve numbering (#2107)

Closes #1744

* Fix typo in docker-compose command (#2106)

* Fix typo in docker-compose command

Missing "-" in ```docker-compose up -d```

* Update index.mdx (#2058)

* Fix minor typo in 01-database-features.mdx (#2117)

no supported -> not supported

* Made MongoDB authorId optional (#2104)

The mongodb example did not make the authorId optional

* feat: `namedConstraints` preview feature (#2102)

* start porting constraint changes again

* remaining old content ported

* first round of fixes

* add feedback link

* tag fixes

* Fixed errors with tab component

* fix naming and broken links

add some todos

* Update content/200-concepts/100-components/01-prisma-schema/07-names-in-underlying-database.mdx

Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>

* Update content/200-concepts/100-components/01-prisma-schema/07-names-in-underlying-database.mdx

Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>

* Update content/300-guides/300-upgrade-guides/200-upgrading-to-latest/10-upgrade-to-2290.mdx

Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>

* Added new upgrade structure and preview feature section

* Restructure `namedConstraints` preview feature guide page (#2112)

* Update content/200-concepts/100-components/01-prisma-schema/07-names-in-underlying-database.mdx

Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>

* Update content/200-concepts/100-components/01-prisma-schema/07-names-in-underlying-database.mdx

Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>

* incorporate datamodel feedback

* flesh out new structure for upgrade guide

Co-authored-by: Rich Haines <hello@richardhaines.dev>
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>

* New dev env section (#2119)

* Cross linked debug info

* Added new dev env section, moved files, changed links

* Update content/300-guides/125-development-environment/index.mdx

Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com>

Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com>

* fix(deps): update dependency prismjs to v1.24.0 [security] (#1936)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: Improve Client preview feature list (#2124)

- Unify "Submit feedback" styling
- Add "since 2.x.0" with link to release notes
- Fix MongoDB feedback issue link
- Add referentialActions feedback link
- Sort by release version

* namedConstraints: Start restructuring upgrade guide (#2125)

* start restructuring upgrade guide

* finalized upgrade path structure

* preview feedback

* more formatting

* fix(deps): update dependency @prisma/lens to v0.0.202 (#2114)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(relations): Change nav order (#2128)

* Cross linked debug info

* Moved ref actions down nav list, fixed code block indent

* fix(percy): Only 1 screen width to avoid more noise (#2129)

* add interactive transaction documentation

* make the try catch description explicit with a code example

Co-authored-by: Rich Haines <hello@richardhaines.dev>
Co-authored-by: Ollie Chick <ollie@partly.com>
Co-authored-by: Patty Arunyavikul <33062838+Parunyavikul@users.noreply.github.com>
Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com>
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: erichen114 <84822642+erichen114@users.noreply.github.com>
Co-authored-by: Jason Boxman <jasonb@edseek.com>
Co-authored-by: Tasin Ishmam <tasinishmam@gmail.com>
Co-authored-by: Nguyen You <tunt081295@gmail.com>
Co-authored-by: Patrick Strassmann <st32490@gmail.com>
Co-authored-by: P Christopher Bowers <41601975+pcbowers@users.noreply.github.com>
Co-authored-by: Matthias Oertel <Matthias.oertel@gmx.net>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

Unit testing documentation not working because of a breaking change in jest-mock-extended v.2.0.0
1 participant