Skip to content

Commit cdbd6d5

Browse files
Himenonclaude
andcommitted
test(PathParameter): add explicit vitest imports
fix(test): vitestのdescribe/test/expectを明示的にimport グローバル注入に依存せず、IDE上での型エラーを解消するため vitest から各テスト関数を明示的にimportする。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 504d3d6 commit cdbd6d5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/code-templates/_shared/MethodBody/__tests__/PathParameter-test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { describe, expect, test } from "vitest";
2+
13
import { TsGenerator } from "../../../../api";
24
import type { CodeGenerator } from "../../../../types";
35
import * as Utils from "../../utils";

src/code-templates/_shared/__tests__/utils.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { describe, expect, test } from "vitest";
2+
13
import * as Utils from "../utils";
24

35
type OK = Utils.VariableElement;

0 commit comments

Comments
 (0)