mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
test(server/utils): add tests for isDev
This commit is contained in:
parent
283b19c716
commit
5c20a6d5ee
@ -244,6 +244,12 @@ describe("#isWindows", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe("#isDev", () => {
|
||||||
|
it("should export a boolean", () => {
|
||||||
|
expect(utils.isDev).toBeTypeOf("boolean");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe("#formatDownloadTitle", () => {
|
describe("#formatDownloadTitle", () => {
|
||||||
|
|
||||||
//prettier-ignore
|
//prettier-ignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user