Skip to content

refactor: add comment about mongoose default timestamp fields #95

refactor: add comment about mongoose default timestamp fields

refactor: add comment about mongoose default timestamp fields #95

Triggered via push May 6, 2025 06:15
Status Failure
Total duration 19s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test
Process completed with exit code 1.
error: expect(received).toThrow(expected): server/src/song/song.service.spec.ts#L709
Expected constructor: HttpException Received constructor: TypeError Received message: "foundSong.save is not a function. (In 'foundSong.save()', 'foundSong.save' is undefined)" at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:709:61) at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:696:78)
error: expect(received).toThrow(expected): server/src/song/song.service.spec.ts#L691
Expected constructor: HttpException Received constructor: TypeError Received message: "foundSong.save is not a function. (In 'foundSong.save()', 'foundSong.save' is undefined)" at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:691:61) at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:678:77)
error: expect(received).toThrow(expected): server/src/song/song.service.spec.ts#L673
Expected constructor: HttpException Received constructor: TypeError Received message: "foundSong.save is not a function. (In 'foundSong.save()', 'foundSong.save' is undefined)" at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:673:61) at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:660:77)
error: expect(received).toThrow(expected): server/src/song/song.service.spec.ts#L655
Expected constructor: HttpException Received constructor: TypeError Received message: "foundSong.save is not a function. (In 'foundSong.save()', 'foundSong.save' is undefined)" at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:655:61) at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.spec.ts:645:54)
TypeError: foundSong.save is not a function. (In 'foundSong.save()': server/src/song/song.service.ts#L281
at getSong (/home/runner/work/NoteBlockWorld/NoteBlockWorld/server/src/song/song.service.ts:281:21)