Closed DylanPiercey closed 3 years ago
Merging #13 (4542a11) into main (e906526) will decrease coverage by
0.09%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #13 +/- ##
==========================================
- Coverage 96.17% 96.07% -0.10%
==========================================
Files 3 3
Lines 157 153 -4
Branches 39 37 -2
==========================================
- Hits 151 147 -4
Misses 6 6
Impacted Files | Coverage Δ | |
---|---|---|
src/index-browser.ts | 95.94% <100.00%> (ø) |
|
src/index.ts | 97.77% <100.00%> (ø) |
|
src/shared.ts | 94.11% <100.00%> (-0.62%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e906526...4542a11. Read the comment docs.
Description
This PR exposes a helper called
act
which allows for an easy way to perform any mutation and wait for Marko components to update. It works similarly toawait fireEvent
helpers and the core implementation has been refactored for all of those helpers to use this underlying helper.Motivation and Context
This makes it easy to do something like:
or
Checklist: