Skip to content

Commit

Permalink
fix invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jul 12, 2022
1 parent 4476644 commit 3835ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-traverse/test/scope.js
Expand Up @@ -653,7 +653,7 @@ describe("scope", () => {
describe("duplicate declaration", () => {
it("should not throw error on duplicate class and function declaration", () => {
const ast = [
t.classDeclaration(t.identifier("A"), t.super(), t.classBody([]), []),
t.classDeclaration(t.identifier("A"), null, t.classBody([]), []),
t.functionDeclaration(t.identifier("A"), [], t.blockStatement([])),
];

Expand Down

0 comments on commit 3835ae1

Please sign in to comment.