refactor: move encode HTML function into separate module (#4591)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Alexandr GarbuzovandAlexandr authored and GitHub committed 2025-10-17 21:26:37 +03:00
1 parent af1d8cad6f
commit b240a06e7b
9 files changed
+30 -24

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@
import { describe, expect, it } from "@jest/globals";
import { queryByTestId } from "@testing-library/dom";
import "@testing-library/jest-dom/jest-globals";
import { encodeHTML, renderError } from "../src/common/render.js";
import { renderError } from "../src/common/render.js";
import { encodeHTML } from "../src/common/html.js";
describe("Test render.js", () => {
it("should test encodeHTML", () => {