mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-11 16:10:05 +00:00
- Rename dragAndDrop to dragDrop (7 occurrences) - Add override modifiers in SidebarTab.ts (4 fixes) - Remove .ts import extensions in actionbar.spec.ts - Prefix unused variables with underscore (9 files) - Fix ESLint import() type annotation in globals.d.ts Reduces typecheck:browser errors from 229 to 215 Amp-Thread-ID: https://ampcode.com/threads/T-019c1787-c781-761d-b95a-4844e909e64c Co-authored-by: Amp <amp@ampcode.com>
14 lines
387 B
TypeScript
14 lines
387 B
TypeScript
import type { 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'])
|
|
}
|
|
}
|