mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-11 05:45:26 -06:00
11 lines
339 B
TypeScript
11 lines
339 B
TypeScript
import { it, describe } from "vitest";
|
|
import { getPresentationThemes, loadPresentationTheme } from "./themes";
|
|
|
|
describe("Presentation themes", () => {
|
|
it("can load all themes", async () => {
|
|
const themes = getPresentationThemes();
|
|
|
|
await Promise.all(themes.map(theme => loadPresentationTheme(theme.id)));
|
|
});
|
|
});
|