mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-22 05:47:51 +00:00
16 lines
432 B
TypeScript
16 lines
432 B
TypeScript
import {defineConfig} from "@playwright/test"
|
|
|
|
const ensContractsDir = process.env.ENS_CONTRACTS_DIR
|
|
|
|
export default defineConfig({
|
|
testDir: "./test",
|
|
use: {baseURL: "http://localhost:4173"},
|
|
webServer: [
|
|
{
|
|
command: "npx vite build && npx vite preview",
|
|
url: "http://localhost:4173",
|
|
},
|
|
...(ensContractsDir ? [{command: "npx hardhat node --port 8645", cwd: ensContractsDir, port: 8645}] : []),
|
|
],
|
|
})
|