feat: add extra pool alerts #3273
checks.yml
on: pull_request
Build
3m 53s
Lint
1m 18s
Unit-Test
1m 56s
Integration-Test
1m 56s
Annotations
2 errors and 8 warnings
lib/modules/pool/alerts/usePoolAlerts.spec.tsx > Creates pool alerts for > a pool with 2 vulnerability alerts:
lib/modules/pool/alerts/usePoolAlerts.spec.tsx#L32
Error: Snapshot `Creates pool alerts for > a pool with 2 vulnerability alerts 1` mismatched
- Expected
+ Received
@@ -16,6 +16,12 @@
"identifier": "cspPoolVulnWarning",
"isSoftWarning": false,
"learnMoreLink": "https://forum.balancer.fi/t/vulnerability-found-in-some-pools/5102/1",
"status": "error",
},
+ {
+ "content": "This pool is in recovery mode",
+ "identifier": "poolIsInRecoveryMode",
+ "isSoftWarning": false,
+ "status": "warning",
+ },
]
❯ lib/modules/pool/alerts/usePoolAlerts.spec.tsx:32:39
|
Unit-Test
Process completed with exit code 1.
|
Lint
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Lint
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Integration-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Integration-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Unit-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Unit-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Build
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Build
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|