chore(monorepo/client): integrate test support

This commit is contained in:
Elian Doran
2025-04-18 11:19:43 +03:00
parent e327c918e1
commit 470e443841
8 changed files with 1352 additions and 580 deletions

View File

@@ -1,5 +1,5 @@
import { lint } from "./eslint.js";
import { trimIndentation } from "../../../../spec/support/utils.js";
import { trimIndentation } from "@triliumnext/commons";
import { describe, expect, it } from "vitest";
describe("Linter", () => {

View File

@@ -1,6 +1,6 @@
import { describe, expect, it } from "vitest";
import { postprocessMermaidSvg } from "./mermaid.js";
import { trimIndentation } from "../../../../spec/support/utils.js";
import { trimIndentation } from "@triliumnext/commons";
describe("Mermaid", () => {
it("converts <br> properly", () => {

View File

@@ -1,5 +1,5 @@
import { describe, expect, it, vi } from "vitest";
import { trimIndentation } from "../../../../../../spec/support/utils.js";
import { describe, expect, it } from "vitest";
import { trimIndentation } from "@triliumnext/commons";
import { validateMermaid } from "./mermaid.js";
describe("Mermaid linter", () => {