-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
getSnapshot with filter also adds .ejs files in the snap file #183
Comments
The culprit is in this line : https://github.com/mshima/mem-fs-editor/blob/master/src/actions/dump.ts#L24 When we pass a non-null non-string filter, it does not use the Will make the change. |
Providing a function filter will override default filter that removes untouched files. You can:
|
Shouldn't the line that you mentioned (i.e., line 24) entail No filter should contain non template files. |
I would say that the most important filter is to filter by the test result's cwd. |
This issue is stale because it has been open with no activity. Remove stale label or comment or this will be closed |
I did :
This added .ejs file in the
generator.spec.mjs.snap
file.Although it got fixed by
I don't think
.ejs
files or infact no template files should be included in the first place.The text was updated successfully, but these errors were encountered: