Skip to content

Commit

Permalink
test: turn on verbatimModuleSyntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Mar 18, 2024
1 parent 20324f6 commit 5de6b00
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/add-labels-to-issue.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/branch-protection.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/create-file.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/create-status.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/errors.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/get-archive.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/get-content.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/get-organization.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/get-repository.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/labels.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/lock-issue.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/mark-notifications-as-read.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/markdown.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/paginate-issues-async-await.test.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/paginate-issues.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

type IteratorResult = {
value: {
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/project-cards.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/release-assets.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/rename-repository.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/search-issues.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInstance, OctokitType } from "../util.ts";
import { getInstance, type OctokitType } from "../util.ts";

describe("api.github.com", () => {
let octokit: OctokitType;
Expand Down
1 change: 0 additions & 1 deletion test/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"emitDeclarationOnly": false,
"noEmit": true,
"verbatimModuleSyntax": false,
"allowImportingTsExtensions": true
},
"include": ["src/**/*"]
Expand Down

0 comments on commit 5de6b00

Please sign in to comment.