Skip to content

Commit

Permalink
fix: fix PlatformTest import in template
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Dec 9, 2024
1 parent 81e35a8 commit 91eecd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PlatformTest } from "@tsed/platform-http";
import { PlatformTest } from "@tsed/platform-http/testing";
import { {{symbolName}} } from "./{{symbolPathBasename}}.js";

describe("{{symbolName}}", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, describe, it, beforeAll, afterAll } from "vitest";
import { PlatformTest } from "@tsed/platform-http";
import { PlatformTest } from "@tsed/platform-http/testing";
import SuperTest from "supertest";
import { {{symbolName}} } from "./{{symbolPathBasename}}.js";

Expand Down
2 changes: 1 addition & 1 deletion tools/vitest/presets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const presets = defineConfig({
test: {
globals: true,
environment: "node",
exclude: ["**/templates/**"],
exclude: ["**/templates/**", "**/.tmp/**"],
coverage: {
enabled: true,
provider: "v8",
Expand Down

0 comments on commit 91eecd3

Please sign in to comment.