Skip to content

feat(parent structure): add method that return note parent structure #850

feat(parent structure): add method that return note parent structure

feat(parent structure): add method that return note parent structure #850

Triggered via pull request October 13, 2024 12:14
Status Failure
Total duration 2m 44s
Artifacts 1

run-tests.yml

on: pull_request
Matrix: tests
report-coverage
0s
report-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note with access rights by public id: src/presentation/http/router/note.test.ts#L272
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:272:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note with access rights by public id: src/presentation/http/router/note.test.ts#L272
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:272:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note with access rights by public id: src/presentation/http/router/note.test.ts#L272
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:272:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note by public id with recursive access check: src/presentation/http/router/note.test.ts#L426
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:426:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note by public id with recursive access check: src/presentation/http/router/note.test.ts#L426
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:426:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note by public id with recursive access check: src/presentation/http/router/note.test.ts#L426
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:426:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns note and parent note by note public id with 200 status: src/presentation/http/router/note.test.ts#L471
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:471:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns one parents note in case when note has one parent: src/presentation/http/router/note.test.ts#L559
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:559:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns two note parents in case when note has two parents: src/presentation/http/router/note.test.ts#L623
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:623:36
src/presentation/http/router/note.test.ts > Note API > GET note/:notePublicId > Returns one parent note when the user is not in the parent note's team but shares a note relation: src/presentation/http/router/note.test.ts#L683
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/presentation/http/router/note.test.ts:683:36
tests (main)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests (feat/return-note)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
coverage-main
97 KB