* Remove ordering constraints for `static-blocks` plugin * Handle static blocks directly in `helper-create-class-features-plugin`
10 lines
123 B
JavaScript
10 lines
123 B
JavaScript
class Foo {}
|
|
|
|
babelHelpers.defineProperty(Foo, "bar", 42);
|
|
|
|
(() => {
|
|
Foo.foo = Foo.bar;
|
|
})();
|
|
|
|
expect(Foo.foo).toBe(42);
|