Skip to content

Add unit Tests.

Add unit Tests. #120

Triggered via pull request September 5, 2023 19:38
Status Failure
Total duration 3m 22s
Artifacts

build-test.yml

on: pull_request
Matrix: Build, Lint, and Test
All jobs pass
0s
All jobs pass
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
Build, Lint, and Test (18.x): packages/snap/src/currency.ts#L117
Missing JSDoc @param "Contract" declaration
Build, Lint, and Test (18.x): packages/snap/src/currency.ts#L133
'Contract' is already declared in the upper scope on line 7 column 21
Build, Lint, and Test (18.x): packages/snap/src/index.ts#L97
Expected blank line before this statement
Build, Lint, and Test (18.x): packages/snap/src/index.ts#L97
Replace `·VALID_CURRENCIES.includes(overrideFeeCurrency.toLowerCase())·` with `VALID_CURRENCIES.includes(overrideFeeCurrency.toLowerCase())`
Build, Lint, and Test (18.x): packages/snap/src/index.ts#L120
Async arrow function expected no return value
Build, Lint, and Test (18.x): packages/snap/test/constants.test.ts#L2
'SortedOraclesRates' is defined but never used
Build, Lint, and Test (18.x): packages/snap/test/contract.mock.test.ts#L9
'walletAddressWithMoreEur' is defined but never used
Build, Lint, and Test (18.x): packages/snap/test/contract.mock.test.ts#L14
Use a `type` instead of an `interface`
Build, Lint, and Test (16.x)
The operation was canceled.
Build, Lint, and Test (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@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/
Build, Lint, and Test (18.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build, Lint, and Test (18.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build, Lint, and Test (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@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/
Build, Lint, and Test (16.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build, Lint, and Test (16.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/