From 5de6b00b32f61a6b90dc99bb1a96e91bf882f088 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Mon, 18 Mar 2024 10:47:05 -0400 Subject: [PATCH] test: turn on `verbatimModuleSyntax` --- test/scenarios/add-and-remove-repository-collaborator.test.ts | 2 +- test/scenarios/add-labels-to-issue.test.ts | 2 +- test/scenarios/branch-protection.test.ts | 2 +- test/scenarios/create-file.test.ts | 2 +- test/scenarios/create-status.test.ts | 2 +- test/scenarios/errors.test.ts | 2 +- test/scenarios/get-archive.test.ts | 2 +- test/scenarios/get-content.test.ts | 2 +- test/scenarios/get-organization.test.ts | 2 +- test/scenarios/get-repository.test.ts | 2 +- test/scenarios/labels.test.ts | 2 +- test/scenarios/lock-issue.test.ts | 2 +- test/scenarios/mark-notifications-as-read.test.ts | 2 +- test/scenarios/markdown.test.ts | 2 +- test/scenarios/paginate-issues-async-await.test.ts | 2 +- test/scenarios/paginate-issues.test.ts | 2 +- test/scenarios/project-cards.test.ts | 2 +- test/scenarios/release-assets.test.ts | 2 +- test/scenarios/rename-repository.test.ts | 2 +- test/scenarios/search-issues.test.ts | 2 +- test/tsconfig.test.json | 1 - 21 files changed, 20 insertions(+), 21 deletions(-) diff --git a/test/scenarios/add-and-remove-repository-collaborator.test.ts b/test/scenarios/add-and-remove-repository-collaborator.test.ts index adfb62b2..0f273f9d 100644 --- a/test/scenarios/add-and-remove-repository-collaborator.test.ts +++ b/test/scenarios/add-and-remove-repository-collaborator.test.ts @@ -1,4 +1,4 @@ -import { loadFixture, fixtureToInstance, OctokitType } from "../util.ts"; +import { loadFixture, fixtureToInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let githubUserA: OctokitType; diff --git a/test/scenarios/add-labels-to-issue.test.ts b/test/scenarios/add-labels-to-issue.test.ts index e01144ec..3b15959f 100644 --- a/test/scenarios/add-labels-to-issue.test.ts +++ b/test/scenarios/add-labels-to-issue.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/branch-protection.test.ts b/test/scenarios/branch-protection.test.ts index 99bc80b6..a249dbb5 100644 --- a/test/scenarios/branch-protection.test.ts +++ b/test/scenarios/branch-protection.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/create-file.test.ts b/test/scenarios/create-file.test.ts index 86fe2f85..79f968d7 100644 --- a/test/scenarios/create-file.test.ts +++ b/test/scenarios/create-file.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/create-status.test.ts b/test/scenarios/create-status.test.ts index 1819c569..b77dfc54 100644 --- a/test/scenarios/create-status.test.ts +++ b/test/scenarios/create-status.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/errors.test.ts b/test/scenarios/errors.test.ts index 16713864..ca33da85 100644 --- a/test/scenarios/errors.test.ts +++ b/test/scenarios/errors.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-archive.test.ts b/test/scenarios/get-archive.test.ts index 330643b7..4a6d6afc 100644 --- a/test/scenarios/get-archive.test.ts +++ b/test/scenarios/get-archive.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-content.test.ts b/test/scenarios/get-content.test.ts index 3bf48a08..347961c2 100644 --- a/test/scenarios/get-content.test.ts +++ b/test/scenarios/get-content.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-organization.test.ts b/test/scenarios/get-organization.test.ts index dca20de8..5fbf64d3 100644 --- a/test/scenarios/get-organization.test.ts +++ b/test/scenarios/get-organization.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-repository.test.ts b/test/scenarios/get-repository.test.ts index e38c878d..8e0c0573 100644 --- a/test/scenarios/get-repository.test.ts +++ b/test/scenarios/get-repository.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/labels.test.ts b/test/scenarios/labels.test.ts index bccdcff1..09cdd916 100644 --- a/test/scenarios/labels.test.ts +++ b/test/scenarios/labels.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/lock-issue.test.ts b/test/scenarios/lock-issue.test.ts index 4d9716b0..a2e67999 100644 --- a/test/scenarios/lock-issue.test.ts +++ b/test/scenarios/lock-issue.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/mark-notifications-as-read.test.ts b/test/scenarios/mark-notifications-as-read.test.ts index a94793f8..55a608c6 100644 --- a/test/scenarios/mark-notifications-as-read.test.ts +++ b/test/scenarios/mark-notifications-as-read.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/markdown.test.ts b/test/scenarios/markdown.test.ts index 378ab7b8..0161189c 100644 --- a/test/scenarios/markdown.test.ts +++ b/test/scenarios/markdown.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/paginate-issues-async-await.test.ts b/test/scenarios/paginate-issues-async-await.test.ts index 406958a2..884e099b 100644 --- a/test/scenarios/paginate-issues-async-await.test.ts +++ b/test/scenarios/paginate-issues-async-await.test.ts @@ -1,7 +1,7 @@ // this file is not run directly but instead required in paginate-issues-test.js // for Node v10 and higher only -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/paginate-issues.test.ts b/test/scenarios/paginate-issues.test.ts index 731be9ab..de869077 100644 --- a/test/scenarios/paginate-issues.test.ts +++ b/test/scenarios/paginate-issues.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; type IteratorResult = { value: { diff --git a/test/scenarios/project-cards.test.ts b/test/scenarios/project-cards.test.ts index d930f2ae..aedf7293 100644 --- a/test/scenarios/project-cards.test.ts +++ b/test/scenarios/project-cards.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/release-assets.test.ts b/test/scenarios/release-assets.test.ts index c3d93c10..48c37342 100644 --- a/test/scenarios/release-assets.test.ts +++ b/test/scenarios/release-assets.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/rename-repository.test.ts b/test/scenarios/rename-repository.test.ts index 1ff05aba..dc746b17 100644 --- a/test/scenarios/rename-repository.test.ts +++ b/test/scenarios/rename-repository.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/search-issues.test.ts b/test/scenarios/search-issues.test.ts index 5139d2c8..d0a12c5d 100644 --- a/test/scenarios/search-issues.test.ts +++ b/test/scenarios/search-issues.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/tsconfig.test.json b/test/tsconfig.test.json index 5e8dc248..cf1f2005 100644 --- a/test/tsconfig.test.json +++ b/test/tsconfig.test.json @@ -3,7 +3,6 @@ "compilerOptions": { "emitDeclarationOnly": false, "noEmit": true, - "verbatimModuleSyntax": false, "allowImportingTsExtensions": true }, "include": ["src/**/*"]