Skip to content

feat(formatter): Added correct parentheses in formatting #27

feat(formatter): Added correct parentheses in formatting

feat(formatter): Added correct parentheses in formatting #27

Triggered via push December 13, 2023 13:49
Status Failure
Total duration 42s
Artifacts

unit-tests.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
error: expect(received).toBeDefined(): src/tests/lexer.test.ts#L23
Received: undefined at /home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/tests/lexer.test.ts:23:9
error: expect(received).toBeDefined(): src/tests/lexer.test.ts#L32
Received: undefined at /home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/tests/lexer.test.ts:32:9
error: Number cannot contain more than one decimal point: src/utils/errors.ts#L12
at new ErrorModel (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/utils/errors.ts:12:9) at new ErrorLexer (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/utils/errors.ts:35:9) at tokenize (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/lexer/lexer.ts:103:43) at provideSourceCode (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/tests/lexer.test.ts:67:29) at /home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/tests/lexer.test.ts:45:9
error: Unrecognized character found in source: @: src/utils/errors.ts#L12
at new ErrorModel (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/utils/errors.ts:12:9) at new ErrorLexer (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/utils/errors.ts:35:9) at tokenize (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/lexer/lexer.ts:132:27) at provideSourceCode (/home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/tests/lexer.test.ts:67:29) at /home/runner/work/agent-lang-interpreter/agent-lang-interpreter/src/tests/lexer.test.ts:55:9
test
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/