Skip to content

Commit

Permalink
chore: fix test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 24, 2018
1 parent 6f91e0e commit c5fa387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Object {
"name": "(anonymous_0)",
},
},
"path": "/tmp/sum.js",
"path": Any<String>,
"s": Object {
"0": 0,
"1": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ it('generates an empty coverage object for a file without running it', () => {
coverage = sourceMapStore.transformCoverage(coverageMap).map;
}

expect(coverage).toMatchSnapshot();
// $FlowFixMe: IDK...
expect(coverage.data).toMatchSnapshot({path: expect.any(String)});
});

0 comments on commit c5fa387

Please sign in to comment.