Skip to content

add test for macos and windows #415

add test for macos and windows

add test for macos and windows #415

Triggered via pull request November 11, 2024 01:28
Status Failure
Total duration 2m 10s
Artifacts

main.yml

on: pull_request
Matrix: lint & test
Build & dry run on publish
0s
Build & dry run on publish
Fit to window
Zoom out
Zoom in

Annotations

24 errors
src/core/dir.spec.ts > Test Directory Service > path: packages/core/src/core/dir.spec.ts#L19
AssertionError: expected 'test\data' to be 'test/data' // Object.is equality Expected: "test/data" Received: "test\data" ❯ src/core/dir.spec.ts:19:22
src/core/dir.spec.ts > Test Directory Service > exists: packages/core/src/core/dir.spec.ts#L32
AssertionError: expected false to be truthy - Expected + Received - true + false ❯ src/core/dir.spec.ts:32:20
src/core/dir.spec.ts > Test Directory Service > parent: packages/core/src/core/dir.spec.ts#L44
AssertionError: expected '\' to be '/test' // Object.is equality Expected: "/test" Received: "\" ❯ src/core/dir.spec.ts:44:30
src/core/dir.spec.ts > Test Directory Service > parent of root: packages/core/src/core/dir.spec.ts#L49
AssertionError: expected LoomDirectory{ _path: '\', …(3) } to be undefined // Object.is equality - Expected: undefined + Received: Directory { "_adapter": Adapter { "storage": Object { "$type": 0, "content": Array [], }, }, "_path": "\\", "_strict": false, "isRoot": false, } ❯ src/core/dir.spec.ts:49:25
src/core/dir.spec.ts > Test Directory Service > parent of first level after root: packages/core/src/core/dir.spec.ts#L55
AssertionError: expected '\' to be '/' // Object.is equality Expected: "/" Received: "\" ❯ src/core/dir.spec.ts:55:30
src/core/dir.spec.ts > Test Directory Service > get name /test/data/: packages/core/src/core/dir.spec.ts#L66
AssertionError: expected '\test\data\' to be 'data' // Object.is equality Expected: "data" Received: "\test\data\" ❯ src/core/dir.spec.ts:66:22
src/core/dir.spec.ts > Test Directory Service > get name /test/data: packages/core/src/core/dir.spec.ts#L66
AssertionError: expected '\test\data' to be 'data' // Object.is equality Expected: "data" Received: "\test\data" ❯ src/core/dir.spec.ts:66:22
src/core/dir.spec.ts > Test Directory Service > get name cotton/coding/loom: packages/core/src/core/dir.spec.ts#L66
AssertionError: expected 'cotton\coding\loom' to be 'loom' // Object.is equality Expected: "loom" Received: "cotton\coding\loom" ❯ src/core/dir.spec.ts:66:22
src/core/dir.spec.ts > Test Directory Service > get name /test/: packages/core/src/core/dir.spec.ts#L66
AssertionError: expected '\test\' to be 'test' // Object.is equality Expected: "test" Received: "\test\" ❯ src/core/dir.spec.ts:66:22
src/core/dir.spec.ts > Test Directory Service > get name /test: packages/core/src/core/dir.spec.ts#L66
AssertionError: expected '\test' to be 'test' // Object.is equality Expected: "test" Received: "\test" ❯ src/core/dir.spec.ts:66:22
lint & test (lts/*, macos-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (lts/*, macos-latest)
The operation was canceled.
lint & test (lts/*, windows-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (lts/*, windows-latest)
The operation was canceled.
lint & test (22, windows-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (22, windows-latest)
The operation was canceled.
lint & test (20, macos-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (20, macos-latest)
The operation was canceled.
lint & test (18, windows-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (18, windows-latest)
The operation was canceled.
lint & test (22, macos-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (22, macos-latest)
The operation was canceled.
lint & test (lts/*, ubuntu-latest)
The job was canceled because "_20_windows-latest" failed.
lint & test (lts/*, ubuntu-latest)
The operation was canceled.