data-snapshot icon indicating copy to clipboard operation
data-snapshot copied to clipboard

feat: add support for jest test paths

Open sbekrin opened this issue 6 years ago • 1 comments

Hey there 👋

I sounds a bit specific feature for Jest, but what do you think about relying on Jests's testPath? It allows to move dataSnapshot call into separate file or even individual module, but still resolving snapshots directory correctly.

Currently it's not possible to move dataSnapshot call outside of spec file as it resolves whatever path you'll move it into.

sbekrin avatar Nov 05 '18 16:11 sbekrin

Codecov Report

Merging #1 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #1   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines          36     38    +2     
  Branches        5      6    +1     
=====================================
+ Hits           36     38    +2
Impacted Files Coverage Δ
src/utils.js 100% <100%> (ø) :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 0313f13...504fdb3. Read the comment docs.

codecov-io avatar Nov 05 '18 16:11 codecov-io