Skip to content

feat: implementing smock to unit test #47

feat: implementing smock to unit test

feat: implementing smock to unit test #47

Triggered via push May 9, 2024 11:37
Status Failure
Total duration 48s
Artifacts

ci.yml

on: push
Run Unit Tests
28s
Run Unit Tests
Run Integration Tests
38s
Run Integration Tests
Lint Commit Messages
38s
Lint Commit Messages
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 13 warnings
Run Unit Tests
Process completed with exit code 1.
Run Integration Tests
Process completed with exit code 1.
Lint Commit Messages
Process completed with exit code 1.
Run Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Integration Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Commit Messages
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Commit Messages: src/contracts/BColor.sol#L14
Found more than one contract per file. 2 contracts found!
Lint Commit Messages: src/contracts/BConst.sol#L16
global import of path ./BColor.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Lint Commit Messages: src/contracts/BFactory.sol#L18
global import of path ./BPool.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Lint Commit Messages: src/contracts/BFactory.sol#L21
event name must be in CapWords
Lint Commit Messages: src/contracts/BFactory.sol#L23
event name must be in CapWords
Lint Commit Messages: src/contracts/BFactory.sol#L25
Function order is incorrect, state variable declaration can not go after event definition (line 23)
Lint Commit Messages: src/contracts/BFactory.sol#L50
Use Custom Errors instead of require statements
Lint Commit Messages: src/contracts/BFactory.sol#L56
Use Custom Errors instead of require statements
Lint Commit Messages: src/contracts/BFactory.sol#L59
Use Custom Errors instead of require statements
Lint Commit Messages: src/contracts/BMath.sol#L16
global import of path ./BNum.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)