chore(feat): profile picture #280
Annotations
1 error and 1 warning
Error: Command failed: pnpm run --filter ./api coverage
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/@common/users/profile-picture/profile-picture.controller.spec.ts > ProfilePictureController > should be defined
Error: Nest can't resolve dependencies of the ProfilePictureController (?). Please make sure that the argument ProfilePictureService at index [0] is available in the RootTestModule context.
Potential solutions:
- Is RootTestModule a valid NestJS module?
- If ProfilePictureService is a provider, is it part of the current RootTestModule?
- If ProfilePictureService is exported from a separate @module, is that module imported within RootTestModule?
@module({
imports: [ /* the Module containing ProfilePictureService */ ]
})
❯ TestingInjector.lookupComponentInParentModules ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/injector/injector.js:248:19
❯ TestingInjector.resolveComponentInstance ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/injector/injector.js:202: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][email protected][email protected]/node_modules/@nestjs/core/injector/injector.js:123:38
❯ TestingInjector.resolveConstructorParams ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/injector/injector.js:138:27
❯ TestingInjector.loadInstance ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/injector/injector.js:64:13
❯ TestingInjector.loadController ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/injector/injector.js:82:9
❯ ../node_modules/.pnpm/@nestjs[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/injector/instance-loader.js:68:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: {
"context": {
"dependencies": [
"Function<ProfilePictureService>",
],
"index": 0,
"name": "Function<ProfilePictureService>",
},
"metadata": {
"id": "63784653be80a0940fdd3",
},
"moduleRef": {
"id": "4c0df9cdc563784653be8",
},
"what": "Function<what>",
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
FAIL src/@common/users/profile-picture/profile-picture.service.spec.ts > ProfilePictureService > should be defined
Error: Nest can't resolve dependencies of the ProfilePictureService (?, PrismaService, EventEmitter). Please make sure that the argument MinioClientService at index [0] is available in the RootTestModule context.
Potential solutions:
- Is RootTestModule a valid NestJS module?
- If MinioClientService is a provider, is it part of the current RootTestModule?
- If MinioClientService is exported from a separate @module, is that module imported within RootTestModule?
@module({
imports: [ /* the Module containing MinioClientService */ ]
})
❯ TestingInjector.lookupComponentInParentModules ../node_modules/.pnpm/@nestjs[email protected]_@nestjs+co
|
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/
|
The logs for this run have expired and are no longer available.
Loading