Debian Codegraph @

packages/babel-plugin-proposal-async-do-expressions/test/fixtures/async-do-expressions/basic/exec.js

raw
1 const x = async do { 21 + 21 };
2
3 expect(x).toBeInstanceOf(Promise);
4 x.then((v) => expect(v).toBe(42)).catch(err => { throw err });