mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-28 13:43:15 +00:00
Unpack plugins for wiki based tests
This commit is contained in:
parent
361a9668a2
commit
d3f441cbb5
@ -30,6 +30,13 @@ describe("Wiki-based tests", function() {
|
|||||||
wiki.addTiddler(coreTiddler);
|
wiki.addTiddler(coreTiddler);
|
||||||
}
|
}
|
||||||
wiki.addTiddlers(readMultipleTiddlersTiddler(title));
|
wiki.addTiddlers(readMultipleTiddlersTiddler(title));
|
||||||
|
// Unpack plugin tiddlers
|
||||||
|
wiki.readPluginInfo();
|
||||||
|
wiki.registerPluginTiddlers("plugin");
|
||||||
|
wiki.unpackPluginTiddlers();
|
||||||
|
wiki.addIndexersToWiki();
|
||||||
|
// Clear changes queue
|
||||||
|
wiki.clearTiddlerEventQueue();
|
||||||
// Complain if we don't have the ouput and expected results
|
// Complain if we don't have the ouput and expected results
|
||||||
if(!wiki.tiddlerExists("Output")) {
|
if(!wiki.tiddlerExists("Output")) {
|
||||||
throw "Missing 'Output' tiddler";
|
throw "Missing 'Output' tiddler";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user