refactor: move encode HTML function into separate module (#4591)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
1 parent
af1d8cad6f
commit
b240a06e7b
9 files changed
+30
-24
No files matched your search
@@ -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", () => {
|
||||
|
||||
Reference in new issue
Block a user