feat!: switch from graphql to TS-Rest & (custom) TS-WS #347
Annotations
1 error and 1 warning
Coverage
Error: Command failed: pnpm run --filter ./api coverage
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
stderr | src/@common/users/user/security/security.service.spec.ts > UserSecurityService > should be defined
warn(prisma-client) This is the 10th instance of Prisma Client being started. Make sure this is intentional.
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/@common/users/users.gateway.spec.ts > UsersGateway > should be defined
Error: Nest can't resolve dependencies of the AuthGuard (Reflector, ?). Please make sure that the argument TypedI18nService at index [1] is available in the RootTestModule context.
Potential solutions:
- Is RootTestModule a valid NestJS module?
- If TypedI18nService is a provider, is it part of the current RootTestModule?
- If TypedI18nService is exported from a separate @module, is that module imported within RootTestModule?
@module({
imports: [ /* the Module containing TypedI18nService */ ]
})
❯ TestingInjector.lookupComponentInParentModules ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@nestjs+websockets@_xhoe2q7fevbt6wkt6dxdvkfyzm/node_modules/@nestjs/core/injector/injector.js:254:19
❯ TestingInjector.resolveComponentInstance ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@nestjs+websockets@_xhoe2q7fevbt6wkt6dxdvkfyzm/node_modules/@nestjs/core/injector/injector.js:207:33
❯ TestingInjector.resolveComponentInstance ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@[email protected]/node_modules/@nestjs/testing/testing-injector.js:19:45
❯ resolveParam ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@nestjs+websockets@_xhoe2q7fevbt6wkt6dxdvkfyzm/node_modules/@nestjs/core/injector/injector.js:128:38
❯ TestingInjector.resolveConstructorParams ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@nestjs+websockets@_xhoe2q7fevbt6wkt6dxdvkfyzm/node_modules/@nestjs/core/injector/injector.js:143:27
❯ TestingInjector.loadInstance ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@nestjs+websockets@_xhoe2q7fevbt6wkt6dxdvkfyzm/node_modules/@nestjs/core/injector/injector.js:70:13
❯ TestingInjector.loadEnhancersPerContext ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected]_@nestjs+websockets@_xhoe2q7fevbt6wkt6dxdvkfyzm/node_modules/@nestjs/core/injector/injector.js:390:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { context: { index: 1, dependencies: [ 'Function<Reflector>', 'Function<TypedI18nService>' ], name: 'Function<TypedI18nService>' }, metadata: { id: 'c33fc7121e990ac10eb42' }, moduleRef: { id: '4faac0f5f39c33fc7121e' }, what: 'Function<what>' }
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
|
Coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: anuraag016/Jest-Coverage-Diff@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|