mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-04 15:11:41 +00:00
Unpack plugins for wiki based tests
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user