5 Commits
Author SHA1 Message Date
Kamil Myśliwiec 6e345edc1b test: resolve nest packages from this checkout in integration tests
The @nestjs/* packages installed from npm (graphql, apollo, mongoose,
typeorm) import @nestjs/core and @nestjs/common from where they are
installed. When node_modules is linked to another checkout, as in a git
worktree that shares the main checkout's node_modules, that is a second
copy of every class. Dependency injection then failed (GraphQLModule
could not resolve HttpAdapterHost), so every graphql-schema-first spec
failed in such a checkout while CI passed.

The integration config now dedupes the packages of this repository, so
Vite resolves them from the project root whoever imports them. Nothing
changes where node_modules is installed in place.
2026-10-19 10:22:20 +02:00
Daniel Pinto 3f56db32fc test: re-enable typeorm, mongoose and graphql schema-first suites (#17875)
- These suites failed with two copies of `ModuleRef` and `HttpAdapterHost`: the tests import
  `@nestjs/core` from its TypeScript sources, while the `@nestjs/*` packages in node_modules
  loaded the compiled build.
- Inline `@nestjs/apollo`, `graphql`, `mongoose` and `typeorm` so their core imports resolve to
  the same sources, and remove the three exclusions.
- Replace the outdated CommonJS note with the reason each remaining suite stays excluded.
2026-09-25 08:26:11 +02:00
Kamil Myśliwiec 35a79dad34 chore: upgrade vitest 2026-08-17 08:54:57 +02:00
Kamil Myśliwiec 812f405599 chore: upgrade to vitest 4 with oxc 2026-04-01 13:54:59 +02:00
Kamil Myśliwiec 6846cd7128 test: migrate to vitest 2026-02-11 15:04:51 +01:00