Removed libxmljs2 (#219)

This commit is contained in:
Simon J
2025-02-04 19:56:45 +11:00
committed by GitHub
parent 6bc4c79f02
commit a581100d29
5 changed files with 109 additions and 1422 deletions

View File

@@ -1,6 +1,6 @@
import dayjs from "dayjs";
import libxmljs from "libxmljs2";
import { FixedClock } from "../src/clock";
import { xmlTidy } from "../src/utils";
import {
contains,
@@ -23,9 +23,6 @@ import {
} from "../src/icon";
describe("SvgIcon", () => {
const xmlTidy = (xml: string) =>
libxmljs.parseXmlString(xml, { noblanks: true, net: false }).toString();
const svgIcon24 = `<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="path1"/>