Failed tests: 1/19. Failed suites: 4/15.
```
β AttendeeService βΊ create populates fields correctly
TypeError: Cannot read properties of undefined (reading 'tree')
55 | interest_mech_puzzle: createAttendeeDto.mechPuzzle,
56 | };
> 57 | const newAttendee = new this.attendeeModel(attendee);
| ^
58 | return newAttendee.save().then((createdAttendee) => {
59 | console.log(createdAttendee._id); // Print the ID to the console
60 | return createdAttendee;
at Model.Object..Document.$__setSchema (../node_modules/mongoose/lib/document.js:3506:18)
at Model.Document (../node_modules/mongoose/lib/document.js:90:10)
at new Model (../node_modules/mongoose/lib/model.js:122:12)
at AttendeeService.create (attendees/attendees.service.ts:57:25)
at Object. (attendees/attendees.service.spec.ts:116:38)
```
---
```
β Test suite failed to run
src/attendees/attendees.controller.spec.ts:29:42 - error TS2554: Expected 1 arguments, but got 0.
29 { provide: 'S3Client', useValue: new S3Client() },
~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts:292:17
292 constructor(configuration: S3ClientConfig);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'configuration' was not provided.
```
---
```
β Test suite failed to run
src/carp/carp.service.spec.ts:18:42 - error TS2554: Expected 1 arguments, but got 0.
18 { provide: 'S3Client', useValue: new S3Client() },
~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts:292:17
292 constructor(configuration: S3ClientConfig);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'configuration' was not provided.
```
---
```
β Test suite failed to run
src/s3/s3.service.spec.ts:11:52 - error TS2554: Expected 1 arguments, but got 0.
11 providers: [{ provide: 'S3Client', useValue: new S3Client() }, S3Service],
~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts:292:17
292 constructor(configuration: S3ClientConfig);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'configuration' was not provided.
```
Coverage report
β An unexpected error occurred. For more details, check console
Show new covered files π£
|
Show files with reduced coverage π»
|
Test suite run failed
Failed tests: 1/19. Failed suites: 4/15.
``` β AttendeeService βΊ create populates fields correctly TypeError: Cannot read properties of undefined (reading 'tree') 55 | interest_mech_puzzle: createAttendeeDto.mechPuzzle, 56 | }; > 57 | const newAttendee = new this.attendeeModel(attendee); | ^ 58 | return newAttendee.save().then((createdAttendee) => { 59 | console.log(createdAttendee._id); // Print the ID to the console 60 | return createdAttendee; at Model.Object.
Report generated by π§ͺjest coverage report action from 92803fc58391694600f3213e57c308e2b0a56bd0