Skip to content

Commit

Permalink
chore: use process.env.VITEST
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 24, 2022
1 parent 9564227 commit f138d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/ssr-noexternal/server.js
Expand Up @@ -5,7 +5,7 @@ import express from 'express'

const __dirname = path.dirname(fileURLToPath(import.meta.url))

const isTest = process.env.NODE_ENV === 'test' || !!process.env.VITE_TEST_BUILD
const isTest = process.env.VITEST

export async function createServer(
root = process.cwd(),
Expand Down

0 comments on commit f138d52

Please sign in to comment.