Debian Codegraph @

packages/babel-generator/test/printer.skip-bundled.js

raw symbols SCIP
1 import * as t from "@babel/types";
2 import _Printer from "../lib/printer.js";
3 const Printer = _Printer.default || _Printer;
4
5 describe("Printer", () => {
6 it("completeness", function () {
7 Object.keys(t.VISITOR_KEYS).forEach(function (type) {
8 expect(Printer.prototype[type]).toBeTruthy();
9 });
10
11 Object.keys(Printer.prototype).forEach(function (type) {
12 if (!/[A-Z]/.test(type[0])) return;
13 expect(t.VISITOR_KEYS[type]).toBeTruthy();
14 });
15 });
16 });