Skip to content

Add extra tests to check type conversion #62

Add extra tests to check type conversion

Add extra tests to check type conversion #62

Triggered via pull request November 27, 2024 03:05
Status Failure
Total duration 1m 45s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
tests/code.test.ts > misc code > function argument cant be converted to number: tests/code.test.ts#L82
AssertionError: expected "spy" to be called with arguments: [ { errorCode: 11, …(6) } ] Received: 1st spy call: Array [ Object { "actionIndex": -1, "description": "Type mismatch!", "errorCode": 11, "line": 1, - "lineSrc": "X = RGB('123', '65sd', 789)", + "lineSrc": "X = RGB('123', '65sd', 56)", "localLine": 1, "location": "test", }, ] Number of calls: 1 ❯ tests/code.test.ts:82:19
tests/code.test.ts > misc code > function argument cant be converted to number: tests/code.test.ts#L15
AssertionError: expected "spy" to not be called at all, but actually been called 1 times Received: 1st spy call: Array [ Object { "actionIndex": -1, "description": "Type mismatch!", "errorCode": 11, "line": 1, "lineSrc": "X = RGB('123', '65sd', 56)", "localLine": 1, "location": "test", }, ] Number of calls: 1 ❯ tests/code.test.ts:15:23
test
Process completed with exit code 1.