← Back to Discord Forum

Support for Typescript `using` keyword

Hey everyone! I tried refactorting some of my tests to use the using keyword instead of try/finally blocks when dealing with temporary DB entries, but to no avail. Is that supported or planned? I'd be happy to open a PR for it!

This thread is trying to answer question "Is the `using` keyword supported or planned for use in Typescript instead of `try/finally` blocks when dealing with temporary DB entries?"

2 replies

Please file a feature request for it, thanks!

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.