Skip to content

Commit

Permalink
chore: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Sep 29, 2024
1 parent 02a6541 commit 2db0210
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions core/map/mod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ const time = d.getTime();
const token = Deno.env.get("GITHUB_TOKEN");
const store = new Store<string, number>({
owner: "fastrodev",
repo: "store",
repo: "fastro",
path: "modules/store/records.json",
branch: "main",
branch: "store",
token,
});
const i = store.sync(5000);
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 2db0210

Please sign in to comment.