playwright/examples/mock-battery/playwright.config.js

14 lines
262 B
JavaScript

// @ts-check
const path = require('path')
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
webServer: {
port: 9900,
command: 'npm run start',
},
// Test directory
testDir: path.join(__dirname, 'tests'),
});