Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if the snapshots folder does not have extra files #244

Open
bahmutov opened this issue Apr 27, 2019 · 0 comments
Open

check if the snapshots folder does not have extra files #244

bahmutov opened this issue Apr 27, 2019 · 0 comments

Comments

@bahmutov
Copy link
Owner

bahmutov commented Apr 27, 2019


opened via imdone.io from a code comment on a23f85d2680326a77a3475bce048ac118aab1a33 by Gleb Bahmutov [email protected]


// TODO check if the snapshots folder does not have extra files id:15
// - <https://github.com/bahmutov/snap-shot-core/issues/244>
// Gleb Bahmutov
// gleb.bahmutov@gmail.com
Object.keys(snapshots).forEach(expectedFilename => {
const filename = join(snapshotsFolder, expectedFilename)
la(
fs.existsSync(filename),
'cannot find expected snapshot',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant