mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
10 lines
333 B
TypeScript
10 lines
333 B
TypeScript
import type { FullConfig } from '@playwright/test';
|
|
import fs from 'fs';
|
|
|
|
const DEST = 'keepassxc-browser/tests';
|
|
|
|
export default async function globalSetup(config: FullConfig) {
|
|
// Create a temporary directory and copy tests/* to keepassxc-browser/tests
|
|
fs.existsSync(DEST);
|
|
fs.cpSync('./tests', DEST, { recursive: true });
|
|
}
|