mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
refactor(server/utils): get rid of isString
let's use typeof x === "string" → works exactly the same and at the same speed as this custom isString fn
This commit is contained in:
@@ -143,8 +143,6 @@ describe.todo("#normalize", () => {});
|
||||
|
||||
describe.todo("#toMap", () => {});
|
||||
|
||||
describe.todo("#isString", () => {});
|
||||
|
||||
describe("#envToBoolean", () => {
|
||||
const testCases: TestCase<typeof utils.envToBoolean>[] = [
|
||||
["w/ 'true' it should return boolean 'true'", ["true"], true],
|
||||
|
||||
Reference in New Issue
Block a user