From 4546d9b7993bc6b5de107b86f8fe8d2c67943261 Mon Sep 17 00:00:00 2001 From: Harry Dobrev Date: Tue, 5 Mar 2024 23:25:56 +0200 Subject: [PATCH 1/2] Link to NestJS docs on testing with Jest --- website/versioned_docs/version-29.7/TestingFrameworks.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/versioned_docs/version-29.7/TestingFrameworks.md b/website/versioned_docs/version-29.7/TestingFrameworks.md index 2c04440b616c..c076ced6e98d 100644 --- a/website/versioned_docs/version-29.7/TestingFrameworks.md +++ b/website/versioned_docs/version-29.7/TestingFrameworks.md @@ -47,3 +47,7 @@ Jest is a universal testing platform, with the ability to adapt to any JavaScrip ## Next.js - [Jest and React Testing Library](https://nextjs.org/docs/pages/building-your-application/testing/jest) by Next.js docs + +## NestJS + +- [Jest and NestJS dependencies](https://docs.nestjs.com/fundamentals/testing#unit-testing) by NestJS docs From 57c93292645ff6a69d0c7521b5dddd0b8586a07c Mon Sep 17 00:00:00 2001 From: Harry Dobrev Date: Tue, 5 Mar 2024 23:30:13 +0200 Subject: [PATCH 2/2] Update changelog about NestJS docs link --- CHANGELOG.md | 1 + docs/TestingFrameworks.md | 4 ++++ website/versioned_docs/version-29.4/TestingFrameworks.md | 4 ++++ website/versioned_docs/version-29.5/TestingFrameworks.md | 4 ++++ website/versioned_docs/version-29.6/TestingFrameworks.md | 4 ++++ 5 files changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13752c82a913..26c874bfa6a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ - `[jest-util]` Upgrade `picomatch` to v4 ([#14653](https://github.com/jestjs/jest/pull/14653) & [#14885](https://github.com/jestjs/jest/pull/14885)) - `[docs] Append to NODE_OPTIONS, not overwrite ([#14730](https://github.com/jestjs/jest/pull/14730))` - `[docs]` Updated `.toHaveBeenCalled()` documentation to correctly reflect its functionality ([#14842](https://github.com/jestjs/jest/pull/14842)) +- `[docs]` Link NestJS documentation on testing with Jest ([#14940](https://github.com/jestjs/jest/pull/14940)) ## 29.7.0 diff --git a/docs/TestingFrameworks.md b/docs/TestingFrameworks.md index 2c04440b616c..c076ced6e98d 100644 --- a/docs/TestingFrameworks.md +++ b/docs/TestingFrameworks.md @@ -47,3 +47,7 @@ Jest is a universal testing platform, with the ability to adapt to any JavaScrip ## Next.js - [Jest and React Testing Library](https://nextjs.org/docs/pages/building-your-application/testing/jest) by Next.js docs + +## NestJS + +- [Jest and NestJS dependencies](https://docs.nestjs.com/fundamentals/testing#unit-testing) by NestJS docs diff --git a/website/versioned_docs/version-29.4/TestingFrameworks.md b/website/versioned_docs/version-29.4/TestingFrameworks.md index 2c04440b616c..c076ced6e98d 100644 --- a/website/versioned_docs/version-29.4/TestingFrameworks.md +++ b/website/versioned_docs/version-29.4/TestingFrameworks.md @@ -47,3 +47,7 @@ Jest is a universal testing platform, with the ability to adapt to any JavaScrip ## Next.js - [Jest and React Testing Library](https://nextjs.org/docs/pages/building-your-application/testing/jest) by Next.js docs + +## NestJS + +- [Jest and NestJS dependencies](https://docs.nestjs.com/fundamentals/testing#unit-testing) by NestJS docs diff --git a/website/versioned_docs/version-29.5/TestingFrameworks.md b/website/versioned_docs/version-29.5/TestingFrameworks.md index 2c04440b616c..c076ced6e98d 100644 --- a/website/versioned_docs/version-29.5/TestingFrameworks.md +++ b/website/versioned_docs/version-29.5/TestingFrameworks.md @@ -47,3 +47,7 @@ Jest is a universal testing platform, with the ability to adapt to any JavaScrip ## Next.js - [Jest and React Testing Library](https://nextjs.org/docs/pages/building-your-application/testing/jest) by Next.js docs + +## NestJS + +- [Jest and NestJS dependencies](https://docs.nestjs.com/fundamentals/testing#unit-testing) by NestJS docs diff --git a/website/versioned_docs/version-29.6/TestingFrameworks.md b/website/versioned_docs/version-29.6/TestingFrameworks.md index 2c04440b616c..c076ced6e98d 100644 --- a/website/versioned_docs/version-29.6/TestingFrameworks.md +++ b/website/versioned_docs/version-29.6/TestingFrameworks.md @@ -47,3 +47,7 @@ Jest is a universal testing platform, with the ability to adapt to any JavaScrip ## Next.js - [Jest and React Testing Library](https://nextjs.org/docs/pages/building-your-application/testing/jest) by Next.js docs + +## NestJS + +- [Jest and NestJS dependencies](https://docs.nestjs.com/fundamentals/testing#unit-testing) by NestJS docs