Skip to content

Commit 5de6b00

Browse files
committed
test: turn on verbatimModuleSyntax
1 parent 20324f6 commit 5de6b00

21 files changed

+20
-21
lines changed

test/scenarios/add-and-remove-repository-collaborator.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { loadFixture, fixtureToInstance, OctokitType } from "../util.ts";
1+
import { loadFixture, fixtureToInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let githubUserA: OctokitType;

test/scenarios/add-labels-to-issue.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/branch-protection.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/create-file.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/create-status.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/errors.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/get-archive.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/get-content.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/get-organization.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/get-repository.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/labels.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/lock-issue.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/mark-notifications-as-read.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/markdown.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/paginate-issues-async-await.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// this file is not run directly but instead required in paginate-issues-test.js
22
// for Node v10 and higher only
33

4-
import { getInstance, OctokitType } from "../util.ts";
4+
import { getInstance, type OctokitType } from "../util.ts";
55

66
describe("api.github.com", () => {
77
let octokit: OctokitType;

test/scenarios/paginate-issues.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
type IteratorResult = {
44
value: {

test/scenarios/project-cards.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/release-assets.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/rename-repository.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/scenarios/search-issues.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInstance, OctokitType } from "../util.ts";
1+
import { getInstance, type OctokitType } from "../util.ts";
22

33
describe("api.github.com", () => {
44
let octokit: OctokitType;

test/tsconfig.test.json

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"emitDeclarationOnly": false,
55
"noEmit": true,
6-
"verbatimModuleSyntax": false,
76
"allowImportingTsExtensions": true
87
},
98
"include": ["src/**/*"]

0 commit comments

Comments
 (0)