Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
echo "version=$version" >> "$GITHUB_OUTPUT"

- name: Setup Vite+
uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1
uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1

Check warning

Code scanning / zizmor

action's hash pin has mismatched or missing version comment: points to commit 35171c92dd08 Warning

action's hash pin has mismatched or missing version comment: points to commit 35171c92dd08
with:
node-version: ${{ inputs.node-version }}
cache: ${{ inputs.cache }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
done

- name: Setup Vite+
uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1
uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1

Check warning

Code scanning / zizmor

action's hash pin has mismatched or missing version comment: points to commit 35171c92dd08 Warning

action's hash pin has mismatched or missing version comment: points to commit 35171c92dd08
with:
node-version: "24"
cache: true
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# vite-plus preview build registry bridge (auto-added by vp)
registry=https://registry-bridge.viteplus.dev/
2 changes: 1 addition & 1 deletion apps/web/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import vinext from "vinext";
import { defineConfig } from "vite";
import { defineConfig } from "vite-plus";
import { cdnAdapter } from "@vinext/cloudflare/cache/cdn-adapter";
import { kvDataAdapter } from "@vinext/cloudflare/cache/kv-data-adapter";
import { imagesOptimizer } from "@vinext/cloudflare/images/images-optimizer";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@
"vite-plus": "catalog:",
"vitest": "catalog:"
},
"packageManager": "pnpm@11.1.1"
"packageManager": "pnpm@11.1.2"

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

11.1.1 is a bug version!

}
1 change: 1 addition & 0 deletions packages/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"devDependencies": {
"@types/node": "catalog:",
"vinext": "workspace:*",
"vite": "catalog:",
"vite-plus": "catalog:"
},
"peerDependencies": {
Expand Down
3,668 changes: 1,798 additions & 1,870 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ catalog:
typescript: ^5.7.0
use-count-up: 3.0.1
validator: ^13.15.26
vite: npm:@voidzero-dev/vite-plus-core@0.2.1
vite: npm:@voidzero-dev/vite-plus-core@0.0.0-commit.3ee9ab747ff7ab00c71b1b5ab9b3a4794f4aa9ef
vite-plugin-commonjs: ^0.10.4
vite-plus: 0.2.1
vite-plus: 0.0.0-commit.3ee9ab747ff7ab00c71b1b5ab9b3a4794f4aa9ef
vite-tsconfig-paths: ^6.1.1
vitest: 4.1.9
web-vitals: ^4.2.4
Expand All @@ -105,8 +105,10 @@ overrides:
peerDependencyRules:
allowAny:
- vite
- vitest
allowedVersions:
vite: "*"
vitest: "*"
ignoreMissing:
- next
- webpack
Expand Down Expand Up @@ -137,3 +139,14 @@ allowBuilds:
# @sentry/nextjs pulls in @sentry/cli for source-map upload tooling. The
# tests only exercise the runtime SDK, so the CLI postinstall is unnecessary.
"@sentry/cli": false
minimumReleaseAgeExclude:
- vite-plus
- "@voidzero-dev/*"
- oxlint
- "@oxlint/*"
- oxlint-tsgolint
- "@oxlint-tsgolint/*"
Comment on lines +147 to +148

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The package oxlint-tsgolint is published as an unscoped package on npm, and there are no scoped packages under the @oxlint-tsgolint scope. Therefore, the exclusion pattern "@oxlint-tsgolint/*" is redundant and can be safely removed.

  - oxlint-tsgolint

- oxfmt
- "@oxfmt/*"
- vitest
- "@vitest/*"
2 changes: 1 addition & 1 deletion scripts/performance-trace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { tmpdir } from "node:os";
import { join, resolve } from "node:path";
import { promisify } from "node:util";
import { gzip } from "node:zlib";
import { afterEach, describe, expect, test } from "vitest";
import { afterEach, describe, expect, test } from "vite-plus/test";
import {
profileToFlameGraph,
readGzipProfile,
Expand Down
2 changes: 1 addition & 1 deletion tests/_msw/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { afterAll, afterEach, beforeAll } from "vitest";
import { afterAll, afterEach, beforeAll } from "vite-plus/test";
import { server } from "./server.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/app-browser-stream.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { afterEach, beforeEach, describe, expect, it, vi } from "vite-plus/test";
import {
chunksToReadableStream,
createProgressiveRscStream,
Expand Down
2 changes: 1 addition & 1 deletion tests/app-client-reference-preloader.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { createClientReferencePreloader } from "../packages/vinext/src/server/app-client-reference-preloader.js";

function createDeferred(): { promise: Promise<void>; resolve: () => void } {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-prerender-static-params.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it, vi } from "vitest";
import { describe, expect, it, vi } from "vite-plus/test";
import { createAppPrerenderStaticParamsResolver } from "../packages/vinext/src/server/app-prerender-static-params.js";

describe("createAppPrerenderStaticParamsResolver", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-route-module-loader.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it, vi } from "vitest";
import { describe, expect, it, vi } from "vite-plus/test";
import {
ensureAppRouteModulesLoaded,
loadAppInterceptLayouts,
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-client-preloading.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";

describe("Client reference preloading (Issue #256)", () => {
it("preloading correctly warms the memoize cache", async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-deployment-id.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fsp from "node:fs/promises";
import os from "node:os";
import path from "node:path";
import type { ViteDevServer } from "vite";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, startFixtureServer } from "./helpers.js";

describe("App Router deployment ID", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-dev-server.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import http from "node:http";
import fsp from "node:fs/promises";
import { type ViteDevServer } from "vite";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, fetchHtml, startFixtureServer } from "./helpers.js";

function decodeHtmlText(text: string): string {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-external-rewrite.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import zlib from "node:zlib";
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, startFixtureServer } from "./helpers.js";

describe("App Router external rewrite proxy credential forwarding", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-font-google-prod.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from "node:fs";
import path from "node:path";
import { createBuilder } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";

describe("App Router Production server self-hosted next/font/google headers", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-global-not-found-css-order.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import fs from "node:fs";
import path from "node:path";
import { pathToFileURL } from "node:url";
import { createBuilder, preview } from "vite";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";

const FIXTURE_DIR = path.resolve(import.meta.dirname, "./fixtures/global-not-found-css-order");
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-isr-codegen.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { generateRscEntry } from "../packages/vinext/src/entries/app-rsc-entry.js";
import type { AppRoute } from "../packages/vinext/src/routing/app-router.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-malformed-url.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, startFixtureServer } from "./helpers.js";

describe("App Router dev server malformed URL handling", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-metadata-routes.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from "node:path";
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, startFixtureServer } from "./helpers.js";

describe("metadata routes integration (App Router)", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-middleware-next-request.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, fetchHtml, startFixtureServer } from "./helpers.js";

describe("App Router middleware with NextRequest", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-next-config-codegen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { createServer } from "vite";
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { generateRscEntry } from "../packages/vinext/src/entries/app-rsc-entry.js";
import { generateSsrEntry } from "../packages/vinext/src/entries/app-ssr-entry.js";
import vinext from "../packages/vinext/src/index.js";
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-next-config-dev.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, fetchHtml, startFixtureServer } from "./helpers.js";

describe("App Router next.config.js features (dev server integration)", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-origin-check.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, startFixtureServer } from "./helpers.js";

describe("App Router dev server origin check", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-production-build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import os from "node:os";
import path from "node:path";
import { pathToFileURL } from "node:url";
import { createBuilder } from "vite";
import { afterAll, describe, expect, it, vi } from "vitest";
import { afterAll, describe, expect, it, vi } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";
import { APP_FIXTURE_DIR } from "./helpers.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-production-server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import http from "node:http";
import os from "node:os";
import path from "node:path";
import { createBuilder } from "vite";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";
import {
getPagesClientAssets,
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-proxy-conventions.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "node:fs/promises";
import path from "node:path";
import { afterEach, describe, expect, it } from "vitest";
import { afterEach, describe, expect, it } from "vite-plus/test";
import type { ViteDevServer } from "vite";
import { createIsolatedFixture, startFixtureServer } from "./helpers.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-rsc-flight-hint.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { generateRscEntry } from "../packages/vinext/src/entries/app-rsc-entry.js";
import type { AppRoute } from "../packages/vinext/src/routing/app-router.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-rsc-plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { type ViteDevServer } from "vite";
import { beforeAll, afterAll, describe, expect, it } from "vitest";
import { beforeAll, afterAll, describe, expect, it } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";
import { APP_FIXTURE_DIR, fetchHtml, RSC_ENTRIES } from "./helpers.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-static-export.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "node:fs";
import path from "node:path";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import { APP_FIXTURE_DIR, buildAppFixture } from "./helpers.js";

describe("App Router Static export", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-router-worker-entry.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { describe, expect, it, vi } from "vitest";
import { describe, expect, it, vi } from "vite-plus/test";

describe("App Router Production server worker entry compatibility", () => {
it("accepts Worker-style default exports from dist/server/index.js", async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-rsc-stream-hints.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { normalizeReactFlightPreloadHints } from "../packages/vinext/src/server/rsc-stream-hints.js";

function streamFromChunks(chunks: string[]): ReadableStream<Uint8Array> {
Expand Down
2 changes: 1 addition & 1 deletion tests/app-segment-config.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import {
isEdgeRuntime,
resolveAppPageFetchCacheMode,
Expand Down
2 changes: 1 addition & 1 deletion tests/app-static-generation.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import {
createStaticGenerationHeadersContext,
getAppPageStaticGenerationErrorMessage,
Expand Down
2 changes: 1 addition & 1 deletion tests/app-trailing-slash-isr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import fs from "node:fs";
import path from "node:path";
import { createBuilder, preview } from "vite";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";

const FIXTURE_DIR = path.resolve(import.meta.dirname, "./fixtures/app-trailing-slash-isr");
Expand Down
2 changes: 1 addition & 1 deletion tests/benchmark-chart-points.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { visibleMarkerMask } from "../apps/web/app/benchmarks/components/chart-points";

describe("benchmark chart point markers", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/benchmark-url-state.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import {
benchmarkSelectionUrl,
resolveSelectedBenchmark,
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/app-front-redirect-issue/fixture/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "vite";
import { defineConfig } from "vite-plus";
import vinext from "../../../../packages/vinext/src/index.js";

export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/cloudflare-workers/fixture/vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { cloudflare } from "@cloudflare/vite-plugin";
import { defineConfig } from "vite";
import { defineConfig } from "vite-plus";
import vinext from "vinext";

export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion tests/favicon-short-circuit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { createBuilder, createServer } from "vite";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import vinext from "../packages/vinext/src/index.js";
import { APP_FIXTURE_DIR } from "./helpers.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/app-prefetch-inlining/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "vite";
import { defineConfig } from "vite-plus";
import vinext from "vinext";

export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/global-not-found-not-present/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "vite";
import { defineConfig } from "vite-plus";
import vinext from "vinext";

export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion tests/http-error-responses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* - packages/next/src/pages/_error.tsx L7 (`404: 'This page could not be found'`)
*/

import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import {
notFoundResponse,
badRequestResponse,
Expand Down
2 changes: 1 addition & 1 deletion tests/http2-pseudo-headers.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { IncomingMessage } from "node:http";
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { nodeToWebRequest } from "../packages/vinext/src/server/prod-server.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/hybrid-client-route-owner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* end with `+`, and optional catch-alls end with `*`. See
* `routing/route-trie.ts`.
*/
import { afterEach, beforeEach, describe, expect, it } from "vitest";
import { afterEach, beforeEach, describe, expect, it } from "vite-plus/test";
import type {
VinextLinkPrefetchRoute,
VinextPagesLinkPrefetchRoute,
Expand Down
2 changes: 1 addition & 1 deletion tests/hybrid-route-priority.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import { compareHybridRoutePatterns } from "../packages/vinext/src/routing/utils.js";
import {
pagesRouteHasPriorityOverAppRoute,
Expand Down
2 changes: 1 addition & 1 deletion tests/import-meta-url.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { afterAll, beforeAll, describe, expect, it } from "vite-plus/test";
import fsp from "node:fs/promises";
import os from "node:os";
import path from "node:path";
Expand Down
2 changes: 1 addition & 1 deletion tests/middleware-export-validation.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from "vitest";
import { describe, expect, it } from "vite-plus/test";
import {
hasValidMiddlewareModuleExport,
validateMiddlewareModuleExports,
Expand Down
Loading
Loading