UNPKG

honkit

Version:

HonKit is building beautiful books using Markdown.

17 lines (16 loc) 590 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const glossaryEntry_1 = __importDefault(require("../glossaryEntry")); describe("GlossaryEntry", () => { describe("getID", () => { test("must return a normalized ID", () => { const entry = new glossaryEntry_1.default({ name: "Hello World", }); expect(entry.getID()).toBe("hello-world"); }); }); });