Closed nunnatsa closed 3 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/ginkgohandler/handler.go | 0 | 20 | 0.0% | ||
<!-- | Total: | 2 | 22 | 9.09% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
internal/ginkgohandler/handler.go | 1 | 47.46% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 8321952766: | -3.2% |
Covered Lines: | 204 |
Relevant Lines: | 319 |
Description
Does not allow variable assignments in container nodes. See here for more details: https://onsi.github.io/ginkgo/#avoid-spec-pollution-dont-initialize-variables-in-container-nodes
This rule is disabled by default. use the
--forbid-spec-pollution=true
flag to enable it.For example, this code will trigger a warning:
Instead, use
BeforeEach()
; e.g.Closes: #136
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist: