mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-30 12:59:55 +00:00
14 lines
381 B
TypeScript
14 lines
381 B
TypeScript
import { FullConfig } from '@playwright/test'
|
|
import dotenv from 'dotenv'
|
|
|
|
import { restorePath } from './utils/backupUtils'
|
|
|
|
dotenv.config()
|
|
|
|
export default function globalTeardown(config: FullConfig) {
|
|
if (!process.env.CI && process.env.TEST_COMFYUI_DIR) {
|
|
restorePath([process.env.TEST_COMFYUI_DIR, 'user'])
|
|
restorePath([process.env.TEST_COMFYUI_DIR, 'models'])
|
|
}
|
|
}
|