mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
parsing and setting isInheritable flag
This commit is contained in:
@@ -26,6 +26,15 @@ export function expect(val) {
|
||||
errorCount++;
|
||||
}
|
||||
},
|
||||
toBeTruthy: () => {
|
||||
if (!val) {
|
||||
console.trace("toBeTruthy failed.");
|
||||
console.error(`expected: truthy value`);
|
||||
console.error(`got: ${val}`);
|
||||
|
||||
errorCount++;
|
||||
}
|
||||
},
|
||||
toBeFalsy: () => {
|
||||
if (!!val) {
|
||||
console.trace("toBeFalsy failed.");
|
||||
|
||||
Reference in New Issue
Block a user