mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-10 00:03:03 +00:00
* 🧪 feat: add e2e playwright tests * 🧪 feat: Add Playwright Recording Harness * test: fix mock playwright config * test: harden mock e2e environment * test: preserve mock dotenv secrets * test: harden mock isolation setup * ci: cache mock e2e builds * test: harden e2e cache and recorder checks * test: preserve data-provider exports in oauth route test * test: isolate mock auth logout state * test: allow isolated logout smoke setup * test: prepare logout smoke auth via api * test: isolate oauth route module mock --------- Co-authored-by: Danny Avila <danny@librechat.ai>
14 lines
361 B
TypeScript
14 lines
361 B
TypeScript
import cleanupUser from './cleanupUser';
|
|
import { getPrimaryE2EUser, getSecondaryE2EUser } from './users.mock';
|
|
|
|
async function globalTeardown() {
|
|
for (const user of [getPrimaryE2EUser(), getSecondaryE2EUser()]) {
|
|
try {
|
|
await cleanupUser(user);
|
|
} catch (error) {
|
|
console.error('Error:', error);
|
|
}
|
|
}
|
|
}
|
|
|
|
export default globalTeardown;
|