Skip to content

GitHub action update - added "synchronize" #8

GitHub action update - added "synchronize"

GitHub action update - added "synchronize" #8

Triggered via pull request July 18, 2024 15:04
Status Failure
Total duration 40s
Artifacts

unit_tests.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
src/lib/engine/error.test.ts > calls a mistyped console.log function (line 2): src/lib/engine/error.test.ts#L17
AssertionError: expected { …(4) } to strictly equal { column: 9, line: 2, …(2) } - Expected + Received Object { "column": 9, "description": "TypeError: console.llog is not a function at eval (index.ts:2:9)", - "line": 2, + "line": NaN, "raw": [TypeError: console.llog is not a function], } ❯ src/lib/engine/error.test.ts:17:29
src/lib/engine/error.test.ts > ReferenceError (line 1): src/lib/engine/error.test.ts#L36
AssertionError: expected { …(4) } to strictly equal { column: 1, line: 1, …(2) } - Expected + Received Object { "column": 1, "description": "ReferenceError: e is not defined at eval (index.ts:1:1)", - "line": 1, + "line": NaN, "raw": [ReferenceError: e is not defined], } ❯ src/lib/engine/error.test.ts:36:29
src/lib/engine/error.test.ts > ReferenceError (line 2, last line): src/lib/engine/error.test.ts#L55
AssertionError: expected { …(4) } to strictly equal { column: 1, line: 2, …(2) } - Expected + Received Object { "column": 1, "description": "ReferenceError: e is not defined at eval (index.ts:2:1)", - "line": 2, + "line": NaN, "raw": [ReferenceError: e is not defined], } ❯ src/lib/engine/error.test.ts:55:29
src/lib/engine/error.test.ts > RangeError, Division by 0 (line 2): src/lib/engine/error.test.ts#L74
AssertionError: expected { …(4) } to strictly equal { column: 4, line: 2, …(2) } - Expected + Received Object { "column": 4, "description": "RangeError: Division by zero at eval (index.ts:2:4)", - "line": 2, + "line": NaN, "raw": [RangeError: Division by zero], } ❯ src/lib/engine/error.test.ts:74:29
src/lib/engine/error.test.ts > SyntaxError in eval (line 1): src/lib/engine/error.test.ts#L93
AssertionError: expected { …(4) } to strictly equal { column: 1, line: 1, …(2) } - Expected + Received Object { "column": 1, "description": "SyntaxError: Unexpected identifier 'e' at eval (index.ts:1:1)", - "line": 1, + "line": NaN, "raw": [SyntaxError: Unexpected identifier 'e'], } ❯ src/lib/engine/error.test.ts:93:29
src/lib/engine/error.test.ts > Infinite recursion (function line 1, return line 2, call line 5): src/lib/engine/error.test.ts#L159
AssertionError: expected { …(4) } to strictly equal { column: 3, line: 2, …(2) } - Expected + Received Object { "column": 3, - "description": "RangeError: Maximum call stack size exceeded - at recursion (index.ts:2:3)", - "line": 2, + "description": "RangeError: Maximum call stack size exceeded", + "line": NaN, "raw": [RangeError: Maximum call stack size exceeded], } ❯ src/lib/engine/error.test.ts:159:29
src/lib/engine/error.test.ts > TypeError - .split on a number (line 3): src/lib/engine/error.test.ts#L178
AssertionError: expected { …(4) } to strictly equal { column: 3, line: 3, …(2) } - Expected + Received Object { "column": 3, "description": "TypeError: a.split is not a function at eval (index.ts:3:3)", - "line": 3, + "line": NaN, "raw": [TypeError: a.split is not a function], } ❯ src/lib/engine/error.test.ts:178:29
src/lib/engine/error.test.ts > URI Error (line 1): src/lib/engine/error.test.ts#L198
AssertionError: expected { …(4) } to strictly equal { column: 1, line: 1, …(2) } - Expected + Received Object { "column": 1, - "description": "URIError: URI malformed - at eval (index.ts:1:1)", - "line": 1, + "description": "URIError: URI malformed", + "line": NaN, "raw": [URIError: URI malformed], } ❯ src/lib/engine/error.test.ts:198:29
src/lib/engine/error.test.ts > URI Error (line 1): src/lib/engine/error.test.ts#L217
AssertionError: expected { …(4) } to strictly equal { column: 7, line: 1, …(2) } - Expected + Received Object { "column": 7, "description": "Error: this is an error at eval (index.ts:1:7)", - "line": 1, + "line": NaN, "raw": [Error: this is an error], } ❯ src/lib/engine/error.test.ts:217:29
build (18.x)
Process completed with exit code 1.
build (18.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/