mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 13:06:36 +00:00
More efficient syncing
Thank you @PotOfCoffee2Go I ended up taking some of your code from #8101 to get this up and running. There's still some stuff missing (like the tests!) but it gets things moving.
This commit is contained in:
@@ -123,7 +123,7 @@ function runSqlStoreTests(engine) {
|
||||
expect(typeof(saveRecipeResult.tiddler_id)).toBe("number");
|
||||
expect(saveRecipeResult.bag_name).toBe("bag-beta");
|
||||
|
||||
expect(store.getRecipeTiddlers("recipe-rho")).toEqual([{title: "Another Tiddler", tiddler_id: 1, bag_name: "bag-beta"}]);
|
||||
expect(store.getRecipeTiddlers("recipe-rho")).toEqual([{title: "Another Tiddler", tiddler_id: 1, bag_name: "bag-beta", is_deleted: 0 }]);
|
||||
|
||||
var getRecipeTiddlerResult = store.getRecipeTiddler("Another Tiddler","recipe-rho");
|
||||
expect(typeof(getRecipeTiddlerResult.tiddler_id)).toBe("number");
|
||||
|
||||
Reference in New Issue
Block a user