Skip to content

chore(release): release v0.0.6 #12

chore(release): release v0.0.6

chore(release): release v0.0.6 #12

Triggered via push August 26, 2024 13:47
Status Failure
Total duration 1m 5s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors
test/findNode.spec.ts > findNodeById > find the first node by id in the tree: test/findNode.spec.ts#L47
TypeError: TTs.findNodeById is not a function ❯ test/findNode.spec.ts:47:25
test/findPath.spec.ts > findPath > findPathById: test/findPath.spec.ts#L76
AssertionError: expected [ { id: 1, pid: null, …(1) }, …(2) ] to deeply equal [ { id: 3, pid: 2 } ] - Expected + Received Array [ Object { + "children": Array [ + Object { + "children": Array [ + Object { + "id": 3, + "pid": 2, + }, + ], + "id": 2, + "pid": 1, + }, + ], + "id": 1, + "pid": null, + }, + Object { + "children": Array [ + Object { + "id": 3, + "pid": 2, + }, + ], + "id": 2, + "pid": 1, + }, + Object { "id": 3, "pid": 2, }, ] ❯ test/findPath.spec.ts:76:20
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
lint: test/findNode.spec.ts#L47
Property 'findNodeById' does not exist on type '{ toTree<T extends BaseTreeNode>(list: T[], config?: Partial<Config>): T[]; toList<T extends BaseTreeNode>(tree: T[], config?: Partial<Config>): T[]; findNodeByIdBFS<T extends BaseTreeNode>(tree: T[], id: string | number): T | null; ... 7 more ...; findPathAll<T extends BaseTreeNode>(tree: T[], func: (node: T) => bo...'. Did you mean 'findNodeByIdBFS'?
lint
Process completed with exit code 1.
test/findNode.spec.ts > findNodeById > find the first node by id in the tree: test/findNode.spec.ts#L47
TypeError: TTs.findNodeById is not a function ❯ test/findNode.spec.ts:47:25
test/findPath.spec.ts > findPath > findPathById: test/findPath.spec.ts#L76
AssertionError: expected [ { id: 1, pid: null, …(1) }, …(2) ] to deeply equal [ { id: 3, pid: 2 } ] - Expected + Received Array [ Object { + "children": Array [ + Object { + "children": Array [ + Object { + "id": 3, + "pid": 2, + }, + ], + "id": 2, + "pid": 1, + }, + ], + "id": 1, + "pid": null, + }, + Object { + "children": Array [ + Object { + "id": 3, + "pid": 2, + }, + ], + "id": 2, + "pid": 1, + }, + Object { "id": 3, "pid": 2, }, ] ❯ test/findPath.spec.ts:76:20
test (lts/*, macos-latest)
Process completed with exit code 1.
test/findNode.spec.ts > findNodeById > find the first node by id in the tree: test/findNode.spec.ts#L47
TypeError: TTs.findNodeById is not a function ❯ test/findNode.spec.ts:47:25
test/findPath.spec.ts > findPath > findPathById: test/findPath.spec.ts#L76
AssertionError: expected [ { id: 1, pid: null, …(1) }, …(2) ] to deeply equal [ { id: 3, pid: 2 } ] - Expected + Received Array [ Object { + "children": Array [ + Object { + "children": Array [ + Object { + "id": 3, + "pid": 2, + }, + ], + "id": 2, + "pid": 1, + }, + ], + "id": 1, + "pid": null, + }, + Object { + "children": Array [ + Object { + "id": 3, + "pid": 2, + }, + ], + "id": 2, + "pid": 1, + }, + Object { "id": 3, "pid": 2, }, ] ❯ test/findPath.spec.ts:76:20
test (lts/*, windows-latest)
Process completed with exit code 1.