Skip to content

test: add unit test #676

test: add unit test

test: add unit test #676

Triggered via push January 31, 2024 02:44
Status Failure
Total duration 49s
Artifacts

main.yml

on: push
lint_and_test
40s
lint_and_test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 warnings
lint_and_test: test/Test.test.ts#L58
Unsafe array destructuring of a tuple element with an `any` value
lint_and_test: test/Test.test.ts#L186
Unsafe assignment of an `any` value
lint_and_test: test/Test.test.ts#L186
Unsafe call of an `any` typed value
lint_and_test: test/Test.test.ts#L193
Unsafe assignment of an `any` value
lint_and_test: test/Test.test.ts#L194
Unsafe assignment of an `any` value
lint_and_test
Process completed with exit code 1.
lint_and_test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint_and_test
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
lint_and_test: contracts/Collector.sol#L5
global import of path ./interfaces/ICollector.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/Collector.sol#L6
global import of path @openzeppelin/contracts/token/ERC20/IERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/Collector.sol#L7
global import of path @openzeppelin/contracts/math/SafeMath.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/factory/CustomSmartWalletFactory.sol#L5
global import of path @openzeppelin/contracts/cryptography/ECDSA.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/factory/CustomSmartWalletFactory.sol#L6
global import of path ../interfaces/ICustomSmartWalletFactory.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/factory/CustomSmartWalletFactory.sol#L7
global import of path ../utils/RSKAddrValidator.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/factory/CustomSmartWalletFactory.sol#L183
Avoid making time-based decisions in your business logic
lint_and_test: contracts/factory/SmartWalletFactory.sol#L5
global import of path @openzeppelin/contracts/cryptography/ECDSA.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/factory/SmartWalletFactory.sol#L6
global import of path ../interfaces/ISmartWalletFactory.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint_and_test: contracts/factory/SmartWalletFactory.sol#L7
global import of path ../utils/RSKAddrValidator.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)