We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36a2b0 commit 372611bCopy full SHA for 372611b
e2e-tests/gc.spec.ts
@@ -0,0 +1,10 @@
1
+import { test, expect } from '@playwright/test'
2
+import { PORT } from '../src/constants.js'
3
+
4
+test('POST /api/v0/repo/gc', async ({ page }) => {
5
+ const result = await page.request.post(`http://localhost:${PORT}/api/v0/repo/gc`)
6
+ expect(result?.status()).toBe(200)
7
8
+ const maybeContent = await result?.text()
9
+ expect(maybeContent).toEqual('OK')
10
+})
0 commit comments