diff --git a/core/map/mod.test.ts b/core/map/mod.test.ts index 42f2091b3..59e558901 100644 --- a/core/map/mod.test.ts +++ b/core/map/mod.test.ts @@ -129,9 +129,9 @@ const time = d.getTime(); const token = Deno.env.get("GITHUB_TOKEN"); const store = new Store({ owner: "fastrodev", - repo: "store", + repo: "fastro", path: "modules/store/records.json", - branch: "main", + branch: "store", token, }); const i = store.sync(5000); @@ -172,20 +172,20 @@ Deno.test("Store: destroy map without options", async () => { } }); -// const s = new Store({ -// owner: "fastrodev", -// repo: "store", -// path: "modules/store/map.json", -// branch: "main", -// token, -// }); -// await s.set("exist", true).commit(); +const s = new Store({ + owner: "fastrodev", + repo: "fastro", + path: "modules/store/map.json", + branch: "store", + token, +}); +await s.set("exist", true).commit(); Deno.test("Store: sync exist file", async () => { const newStore = new Store({ owner: "fastrodev", - repo: "store", + repo: "fastro", path: "modules/store/map.json", - branch: "main", + branch: "store", token, }); await newStore.get("exist");