Skip to content

Commit 09134c2

Browse files
committed
chore: update TypeScript imports and Playwright configuration
1 parent 8f2eb47 commit 09134c2

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

projects/imagekit-angular/src/lib/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Transformation } from '@imagekit/javascript';
1+
import type { Transformation } from '@imagekit/javascript';
22

33
/**
44
* Re-export types from @imagekit/javascript for convenience

test-app/playwright.config.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ const baseURL = `http://localhost:${PORT}`;
1212
export default defineConfig({
1313
// Timeout per test
1414
timeout: 30 * 1000,
15+
// Global timeout for the entire test run (prevents infinite stalling)
16+
globalTimeout: 60 * 60 * 1000, // 60 minutes
17+
// Expect timeout for assertions
18+
expect: {
19+
timeout: 5 * 1000, // 5 seconds
20+
},
1521
// Test directory
1622
testDir: path.join(__dirname, "e2e"),
17-
// If a test fails, retry it additional 2 times
18-
retries: 2,
23+
// If a test fails, retry it only once
24+
retries: 1,
1925
// Artifacts folder where screenshots, videos, and traces are stored.
2026
outputDir: "test-results/",
2127

0 commit comments

Comments
 (0)