Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Mar 1, 2024
1 parent 45736fd commit 25e8ae0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/babel-standalone/test/preset-stage-1.test.js
Expand Up @@ -45,13 +45,6 @@ describe("stage-1 preset", () => {
}).code;
expect(output).toMatchInlineSnapshot(`"x;"`);
});
it("should support decorators versioned 2021-12", () => {
const output = Babel.transform("@dec class C {}", {
plugins: [["external-helpers", { helperVersion: "7.100.0" }]],
presets: [["stage-1", { decoratorsVersion: "2021-12" }]],
}).code;
expect(output).toMatch("babelHelpers.applyDecs");
});
it("should support private destructuring", () => {
const output = Babel.transform("class C { #x; m({ #x: x}) {} }", {
plugins: [["external-helpers", { helperVersion: "7.100.0" }]],
Expand Down

0 comments on commit 25e8ae0

Please sign in to comment.