mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-01-02 05:29:04 +00:00
Fix test failure
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user