(Feature) Vercel AI SDK (#2024)

This commit is contained in:
Saket Aryan
2024-11-19 23:53:58 +05:30
committed by GitHub
parent a02597ed59
commit 13374a12e9
70 changed files with 4074 additions and 0 deletions

12
vercel-ai-sdk/teardown.ts Normal file
View File

@@ -0,0 +1,12 @@
import { testConfig } from './config/test-config';
export default async function () {
console.log("Running global teardown...");
try {
await testConfig.fetchDeleteId();
await testConfig.deleteUser();
console.log("User deleted successfully after all tests.");
} catch (error) {
console.error("Failed to delete user after all tests:", error);
}
}