-
Notifications
You must be signed in to change notification settings - Fork 448
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
Explicit Resource Management is not supported #4303
Comments
@kulshekhar Any updates on this? |
@ahnpnl Any updates? |
Not sure what is the issue with your repo though, I created a simple example here #4400 and it works (CI passed) |
@ahnpnl, I've updated the code and am experiencing a slightly different issue:
Could you please help me fix the problem? Thanks! |
Also, the previous issue is still occurring. The second error occurs when |
I was able to get it working by changing the |
Version
^29.1.0
Steps to reproduce
git clone https://github.com/zen-fs/core.git
git checkout erm
npm i
npm test
Expected behavior
Explicit resource management should be supported[1]
Actual behavior
[*] Some identifier that comes after
using
orawait using
Debug log
ts-jest.log
Additional context
[1] Esbuild and Typescript support down-level transformation of the
using
andawait using
syntax. From what I understand, ts-jest uses or is moving to Esbuild for the transformer.Environment
The text was updated successfully, but these errors were encountered: