Closed AdeonMaster closed 3 years ago
@AdeonMaster Thanks for your PR. Do you mind to update README as well.
Merging #366 (ac14172) into master (8ddac3c) will increase coverage by
0.00%
. The diff coverage is91.66%
.
@@ Coverage Diff @@
## master #366 +/- ##
=======================================
Coverage 99.60% 99.60%
=======================================
Files 22 22
Lines 762 763 +1
Branches 154 154
=======================================
+ Hits 759 760 +1
Misses 3 3
Impacted Files | Coverage Δ | |
---|---|---|
src/shared/serializeEffect.js | 90.00% <66.66%> (ø) |
|
src/expectSaga/expectations.js | 98.36% <100.00%> (+0.02%) |
:arrow_up: |
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 8ddac3c...ac14172. Read the comment docs.
@AdeonMaster @jp928
I have a global depth
option in the jest setup file but seems it's overwritten when I import redux-saga-test-plan
in tests. Can we rework this solution?
@goncharov Could you please share with us your jest setup file?
Hi @AdeonMaster Basically my jest setup is
import util from 'util'
util.inspect.defaultOptions.depth = null
Solution I found to not update every test file where redux-saga-test-plan
is used is import it in the setup file and set options after. Like this
import util from 'util'
+import 'redux-saga-test-plan'
util.inspect.defaultOptions.depth = null
This PR adds support for custom inspect options (depth levels & etc)
Related issues: #95 #339
Example of usage: