mirror of
https://github.com/zadam/trilium.git
synced 2026-02-01 11:24:25 +01:00
11 lines
297 B
TypeScript
11 lines
297 B
TypeScript
import { deferred } from "./utils.js";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("#deferred", () => {
|
|
it("should return a promise", () => {
|
|
const result = deferred();
|
|
expect(result).toBeInstanceOf(Promise);
|
|
});
|
|
// TriliumNextTODO: Add further tests!
|
|
});
|