-
Notifications
You must be signed in to change notification settings - Fork 630
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
test(snapshot): use Deno.makeTempDir
instead of custom tmp directory
#2129
Comments
@kt3k I think we can sidestep this issue. Currently spawning new instances of If we implement something similar to my suggestion in #2135 I think we can test the behaviour of updating and asserting a mismatched snapshot without needing to spawn new instances of What do you think? |
FYI I'm still unable to run all tests locally, the "update" test is failing. We should fix this situation ASAP. |
That's not ideal 🤔 The update test will basically be completely re-written as part of #2135 so hopefully this should fix it. By the way, this test passes locally for me but the
|
What error do you see?
That should be fixed by upgrading to canary version: |
Scratch that, it no longer happens after upgrading to latest stable release. I guess I had hit some flake. |
@bartlomieju @kt3k This is fixed in #2179 👍 |
ref #2039
and also let's remove tmp directory at assertion failures.
The text was updated successfully, but these errors were encountered: