Debian Codegraph @

packages/babel-plugin-proposal-private-methods/test/fixtures/private-static-method/async/output.js

raw
1 class Cl {
2 test() {
3 return babelHelpers.classStaticPrivateMethodGet(Cl, Cl, _privateStaticMethod).call(Cl);
4 }
5 }
6 async function _privateStaticMethod() {
7 return 2;
8 }
9 return new Cl().test().then(val => {
10 expect(val).toBe(2);
11 });