Skip to content

CoverProducts + createStakingPool refactoring #233

CoverProducts + createStakingPool refactoring

CoverProducts + createStakingPool refactoring #233

Triggered via push August 2, 2023 23:36
Status Failure
Total duration 7m 14s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
lint: test/integration/setup.js#L225
This line has a length of 135. Maximum allowed is 120
lint: test/integration/setup.js#L225
Replace `qd,·tc,·p1,·mc,·owner,·pc,·mr,·ps,·gateway,·ci,·cg,·cl,·as,·cover,·lcr,·stakingProducts,·coverProducts` with `⏎····qd,⏎····tc,⏎····p1,⏎····mc,⏎····owner,⏎····pc,⏎····mr,⏎····ps,⏎····gateway,⏎····ci,⏎····cg,⏎····cl,⏎····as,⏎····cover,⏎····lcr,⏎····stakingProducts,⏎····coverProducts,⏎··`
lint: test/unit/Cover/burnStake.js#L95
Delete `⏎`
lint: test/unit/Cover/burnStake.js#L223
Delete `⏎`
lint: test/unit/Cover/buyCover.js#L52
Delete `⏎⏎`
lint: test/unit/Cover/buyCover.js#L145
Delete `⏎`
lint: test/unit/Cover/buyCover.js#L156
Replace `)` with `,`
lint: test/unit/Cover/buyCover.js#L157
Insert `)`
lint: test/unit/Cover/buyCover.js#L196
Delete `⏎`
coverage
Process completed with exit code 1.
lint: test/unit/Cover/helpers.js#L56
'cover' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/Cover/setup.js#L59
Missing trailing comma
lint: test/unit/CoverProducts/setProducts.js#L4
'createStakingPool' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/CoverProducts/setProducts.js#L15
'targetPriceRatio' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/CoverProducts/setProducts.js#L16
'activeCover' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/CoverProducts/setProducts.js#L17
'capacity' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/CoverProducts/setProducts.js#L23
'poolAllocationRequestTemplate' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/CoverProducts/setProducts.js#L29
'buyCoverTemplate' is assigned a value but never used. Allowed unused vars must match /^_unused/u
lint: test/unit/CoverProducts/setup.js#L31
Missing trailing comma
lint: test/unit/StakingPool/burnStake.js#L7
'setEtherBalance' is assigned a value but never used. Allowed unused vars must match /^_unused/u