diff --git a/packages/babel-traverse/test/scope.js b/packages/babel-traverse/test/scope.js index 7c229183dd93..ec1f999dad80 100644 --- a/packages/babel-traverse/test/scope.js +++ b/packages/babel-traverse/test/scope.js @@ -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([])), ];