forked from mirrored/github-readme-stats
11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
import { describe, expect, it } from "@jest/globals";
|
|
import { encodeHTML } from "../src/common/html.js";
|
|
|
|
describe("Test html.js", () => {
|
|
it("should test encodeHTML", () => {
|
|
expect(encodeHTML(`<html>hello world<,.#4^&^@%!))`)).toBe(
|
|
"<html>hello world<,.#4^&^@%!))",
|
|
);
|
|
});
|
|
});
|