Skip to content

Commit

Permalink
avoid jest finding snapguidist snapshots (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohMer authored and MicheleBertoli committed Aug 17, 2018
1 parent 24a66b2 commit 2b9a7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const setTreeTypes = (obj) => {
}

const snapshot = (name, tree, update) => {
const snapshotPath = path.resolve(base, `${name}.snap`)
const snapshotPath = path.resolve(base, `${name}.sg`)
const state = new SnapshotState(null, {
snapshotPath,
updateSnapshot: update ? 'all' : 'new',
Expand Down

0 comments on commit 2b9a7d7

Please sign in to comment.