-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support Deno 2.0 #32
Comments
This is a problem with superdeno module. Before your tests, run this line:
|
Hi all 👋 As @petruki points out, it seems there has been a long lived bug in https://github.com/cmorten/superdeno/blob/main/src/test.ts#L192 which makes Deno v2 fall over (this line should read I could patch this line however both superdeno and superoak were only ever meant to be drop-in replacements for the Deno is now very much claiming Node and NPM compatability (especially with v2) so I would encourage as you do the major upgrades to consider migrating off of superdeno and superoak. I might consider continuing to support superoak as a thin wrapper over supertest, but will most likely look to sunset superdeno now that it's purpose is over. |
Thank you both for responding so quickly. If you don't have anything to add, I can close this issue. |
Issue
Setup:
Details
Deno test started breaking after upgrading to Deno 2.0:
Test code:
Superoak still works fine on Deno 1.46.3, the latest Deno 1.x version before 2.0.
The text was updated successfully, but these errors were encountered: