Skip to content

Commit

Permalink
add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Sep 8, 2024
1 parent d581251 commit 487dd57
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/config.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import Ajv from "ajv";
import addFormats from "ajv-formats";
import { readFileSync, writeFileSync } from "fs";
Expand Down
1 change: 1 addition & 0 deletions test/invalid-data.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { resolve } from "path";
import ts from "typescript";
import { createFormatter } from "../factory/formatter";
Expand Down
1 change: 1 addition & 0 deletions test/minify/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { execSync } from "child_process";
import path from "path";

Expand Down
1 change: 1 addition & 0 deletions test/sourceless-nodes/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import path from "path";
import ts from "typescript";
import { createParser } from "../../factory";
Expand Down
1 change: 1 addition & 0 deletions test/sourceless-nodes/key/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import path from "path";
import ts from "typescript";
import { createParser } from "../../../factory";
Expand Down
1 change: 1 addition & 0 deletions test/unit/AnnotatedTypeFormatter.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { makeNullable } from "../../src/TypeFormatter/AnnotatedTypeFormatter.js";

describe("makeNullable", () => {
Expand Down
1 change: 1 addition & 0 deletions test/unit/String.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { strip } from "../../src/Utils/String";

describe("strip", () => {
Expand Down
1 change: 1 addition & 0 deletions test/unit/Type/HiddenType.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { HiddenType } from "../../../src/Type/HiddenType.js";
import { NeverType } from "../../../src/Type/NeverType.js";

Expand Down
1 change: 1 addition & 0 deletions test/unit/deepMerge.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { deepMerge } from "../../src/Utils/deepMerge.js";

describe("deepMerge", () => {
Expand Down
1 change: 1 addition & 0 deletions test/unit/intersectionOfArrays.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { intersectionOfArrays } from "../../src/Utils/intersectionOfArrays.js";

describe("intersectionOfArrays", () => {
Expand Down
1 change: 1 addition & 0 deletions test/unit/isAssignableTo.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { AliasType } from "../../src/Type/AliasType.js";
import { AnnotatedType } from "../../src/Type/AnnotatedType.js";
import { AnyType } from "../../src/Type/AnyType.js";
Expand Down
1 change: 1 addition & 0 deletions test/valid-data-annotations.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { assertValidSchema } from "./utils";
import * as annotationDefaultSamples from "./valid-data/annotation-default/samples";

Expand Down
1 change: 1 addition & 0 deletions test/valid-data-other.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from "vitest";
import { assertValidSchema } from "./utils";
import * as objectRequiredSamples from "./valid-data/object-required/samples";

Expand Down
1 change: 1 addition & 0 deletions test/valid-data-struct.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from "vitest";
import { assertValidSchema } from "./utils";

describe("valid-data-struct", () => {
Expand Down
1 change: 1 addition & 0 deletions test/valid-data-type.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from "vitest";
import { assertValidSchema } from "./utils";

describe("valid-data-type", () => {
Expand Down
1 change: 1 addition & 0 deletions test/vega-lite.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it, expect } from "vitest";
import { readFileSync, writeFileSync } from "fs";
import { resolve } from "path";
import { CompletedConfig, DEFAULT_CONFIG } from "../src/Config.js";
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"typeRoots": ["node_modules/@types"],
"outDir": "dist",
"incremental": true,
"importHelpers": true,
"types": ["vitest/globals"]
"importHelpers": true
},
"files": ["ts-json-schema-generator.ts", "index.ts"],
"include": ["src/**/*.ts", "factory/**/*.ts"],
Expand Down

0 comments on commit 487dd57

Please sign in to comment.