Newly tracked file
src/global/generation.js
changed.
Other files ignored by Codecov
test/hot/react-dom.integration.spec.js
has changed.
64 | 64 | ||
65 | 65 | // These counters tracks HMR generations, and probably should be used instead of the old one |
|
66 | 66 | let hotReplacementGeneration = 0; |
|
67 | - | export const incrementHotGeneration = () => hotReplacementGeneration++; |
|
67 | + | export const incrementHotGeneration = () => { |
|
68 | + | if (!hotComparisonOpen()) { |
|
69 | + | hotReplacementGeneration++; |
|
70 | + | } |
|
71 | + | }; |
|
68 | 72 | export const getHotGeneration = () => hotReplacementGeneration; |
Files | Coverage |
---|---|
src | 79.72% |
testConfig | 85.00% |
index.js | 20.83% |
test/proxy/helper.js | 100.00% |
Project Totals (39 files) | 79.10% |