chore(transformer): enable class-properties
plugin
#33176
Annotations
2 errors and 1 warning
Run pnpm run test:
napi/transform/test/transform.test.ts#L104
AssertionError: expected 'import _classPrivateFieldInitSpec fro…' to deeply equal 'class Foo {\n\t#a;\n}\n'
- Expected
+ Received
- class Foo {
- #a;
+ import _classPrivateFieldInitSpec from "@babel/runtime/helpers/classPrivateFieldInitSpec";
+ var _a = new WeakMap();
+ class Foo {
+ constructor() {
+ _classPrivateFieldInitSpec(this, _a, void 0);
+ }
}
❯ test/transform.test.ts:104:22
|
Run pnpm run test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading