1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-02 05:29:04 +00:00

Fix test failure

This commit is contained in:
Jeremy Ruston
2025-07-26 21:23:58 +01:00
parent 52ee685572
commit f70e1b8a46

View File

@@ -1137,7 +1137,7 @@ Tests the filtering mechanism.
// No such tiddlers. Nothing to return.
expect(wiki.filterTiddlers("[[nonexistent]moduleproperty[name]]").length).toBe(0);
// Non string properties should get toStringed.
expect(wiki.filterTiddlers("[[$:/core/modules/commands/init.js]moduleproperty[info]]").join(" ")).toBe('{"name":"init","synchronous":true}');
expect(wiki.filterTiddlers("[[$:/core/modules/startup.js]moduleproperty[synchronous]]").join(" ")).toBe('true');
});
it("should minimize unnecessary variable lookup", function() {