mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Tests should use a dummy admin wiki
This commit is contained in:
parent
82fae45656
commit
4f37355a9f
@ -17,7 +17,9 @@ if($tw.node) {
|
||||
describe("SQL tiddler store", function() {
|
||||
// Create and initialise the tiddler store
|
||||
var SqlTiddlerStore = require("$:/plugins/tiddlywiki/multiwikiserver/sql-tiddler-store.js").SqlTiddlerStore;
|
||||
const sqlTiddlerStore = new SqlTiddlerStore({});
|
||||
const sqlTiddlerStore = new SqlTiddlerStore({
|
||||
adminWiki: new $tw.Wiki()
|
||||
});
|
||||
sqlTiddlerStore.createTables();
|
||||
// Create bags and recipes
|
||||
sqlTiddlerStore.createBag("bag-alpha");
|
||||
|
Loading…
Reference in New Issue
Block a user