From 5744c4e2301d1f1cddee201da990cf2d6f596002 Mon Sep 17 00:00:00 2001 From: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:01:40 -0500 Subject: [PATCH] Renamed repo to dotfensak-deno-template Signed-off-by: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> --- rules/sample_test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/sample_test.ts b/rules/sample_test.ts index e5daab7..5bafab0 100644 --- a/rules/sample_test.ts +++ b/rules/sample_test.ts @@ -19,7 +19,7 @@ const octokit = new Octokit({ }); const testRepo: IGitHubRepository = { owner: "fensak-io", - name: "dotfensak-template", + name: "dotfensak-deno-template", }; const opts = { logMode: RuleLogMode.Console }; @@ -30,7 +30,7 @@ Deno.test("No changes should be approved", async () => { Deno.test("Changes only to README should be approved", async () => { // View PR at - // https://github.com/fensak-io/dotfensak-template/pull/1 + // https://github.com/fensak-io/dotfensak-deno-template/pull/1 const patches = await patchFromGitHubPullRequest(octokit, testRepo, 1); const result = await runRule(ruleFn, patches.patchList, opts); assert(result.approve); @@ -38,7 +38,7 @@ Deno.test("Changes only to README should be approved", async () => { Deno.test("Changes to non-README files should be rejected", async () => { // View PR at - // https://github.com/fensak-io/dotfensak-template/pull/2 + // https://github.com/fensak-io/dotfensak-deno-template/pull/2 const patches = await patchFromGitHubPullRequest(octokit, testRepo, 2); const result = await runRule(ruleFn, patches.patchList, opts); assert(!result.approve); @@ -46,7 +46,7 @@ Deno.test("Changes to non-README files should be rejected", async () => { Deno.test("Change containing more than one file should be rejected", async () => { // View PR at - // https://github.com/fensak-io/dotfensak-template/pull/4 + // https://github.com/fensak-io/dotfensak-deno-template/pull/4 const patches = await patchFromGitHubPullRequest(octokit, testRepo, 4); const result = await runRule(ruleFn, patches.patchList, opts); assert(!result.approve);