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
Top Level await throws error in Codemirror editor #1214
Comments
I want to solve this issue can u add me please |
@sahidshaikh23 That'd be great! You can go ahead and work on it. Please raise a PR once ready. |
I confirm the errors due to top level await This is because, codemirror uses jshint, and currently jshint does not have an option to disable errors due to top level await. I am going to push a temporary fix (until jshint support arrives) by making updates to the codemirror javascript linter. |
Thank I tried to understand/find a fix, but as a scala backend, my js knowledge clearly lacked |
No worries @cheleb! I have taken care of this. The fixes are now available in |
Using await / async in Test raise error in IDE, whereas working in CLI / UI run.
`tests {
await test("should have unchanged _info", async function() {
var _ = require('lodash');
const data = res.getBody();
});
}`
The text was updated successfully, but these errors were encountered: