No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
9c87cbc
... +1 ...
afa8ed4
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
57 | 57 | id, |
|
58 | 58 | merge({}, renderOptions, { proxy: componentOptions.get(type) || {} }, options), |
|
59 | 59 | ); |
|
60 | - | } else { |
|
61 | - | proxiesByID[id].update(type); |
|
60 | + | } else if (proxiesByID[id].update(type)) { |
|
62 | 61 | // proxy could be registered again only in case of HMR |
|
63 | 62 | incrementHotGeneration(); |
|
64 | 63 | } |
341 | 341 | } |
|
342 | 342 | ||
343 | 343 | if (NextComponent === CurrentComponent) { |
|
344 | - | return; |
|
344 | + | return false; |
|
345 | 345 | } |
|
346 | 346 | ||
347 | 347 | // Prevent proxy cycles |
|
348 | 348 | const existingProxy = proxies.get(NextComponent); |
|
349 | 349 | if (existingProxy) { |
|
350 | - | return; |
|
350 | + | return false; |
|
351 | 351 | } |
|
352 | 352 | ||
353 | 353 | isFunctionalComponent = !isReactClass(NextComponent); |
412 | 412 | classUpdatePostponed = classHotReplacement; |
|
413 | 413 | } |
|
414 | 414 | } |
|
415 | + | ||
416 | + | return true; |
|
415 | 417 | } |
|
416 | 418 | ||
417 | 419 | update(InitialComponent); |
Files | Coverage |
---|---|
global | 100.00% |
internal | 78.26% |
proxy | 0.03% 91.36% |
reconciler | 83.79% |
AppContainer.dev.js | 77.78% |
AppContainer.prod.js | 50.00% |
adapters/preact.js | 25.00% |
babel.dev.js | 95.70% |
babel.prod.js | 93.48% |
configuration.js | 100.00% |
errorReporter.js | 64.71% |
fresh/babel.js | 43.07% |
hot.dev.js | 62.07% |
hot.prod.js | 66.67% |
index.dev.js | 100.00% |
logger.js | 44.44% |
reactHotLoader.js | 94.05% |
utils.dev.js | 100.00% |
utils.prod.js | 100.00% |
Folder Totals (19 files) | 79.64% |
Project Totals (39 files) | 79.03% |
afa8ed4
b0ee8db
9c87cbc