mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 17:52:32 +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", () => {
|
||||
|
||||
//prettier-ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user