Skip to content

Jason/api balances refactor #2077

Jason/api balances refactor

Jason/api balances refactor #2077

Triggered via pull request June 25, 2024 09:48
Status Failure
Total duration 2m 29s
Artifacts

unit-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
src/lib/stores/tokens/tokens.store.unit.test.ts: src/lib/stores/tokens/tokens.store.ts#L7
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/lib/stores/tokens/tokens.store.ts:7:31 ❯ src/lib/stores/tokens/index.ts:1:1 Caused by: ReferenceError: chainId is not defined ❯ src/lib/stores/tokens/tokens.store.unit.test.ts:10:24 ❯ src/lib/stores/tokens/tokens.store.ts:7:31 ❯ src/lib/stores/tokens/index.ts:1:1
unit-tests
Process completed with exit code 1.
unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-tests
Unexpected input(s) 'envkey_PUBLIC_NETWORK', 'envkey_GQL_URL', 'envkey_GQL_ACCESS_TOKEN', 'envkey_PUBLIC_PINATA_GATEWAY_URL', 'envkey_INFURA_KEY', 'envkey_MULTIPLAYER_API_ACCESS_TOKEN', 'envkey_MULTIPLAYER_API_URL', valid inputs are ['entryPoint', 'args', 'file_name', 'directory', 'fail_on_empty']