almost into a room

This commit is contained in:
Devin Zuczek
2026-06-09 00:49:11 -04:00
parent 8e644a5c20
commit d2170ff7cf
74 changed files with 75761 additions and 2 deletions
@@ -0,0 +1,18 @@
import { exports } from 'cloudflare:workers'
import { describe, expect, test } from 'vitest'
import '../../clubs.app'
const ORIGIN = 'https://clubs.rec.djdevin.net'
describe('clubs endpoints', () => {
test('GET /club/home/me returns 404', async () => {
const res = await exports.default.fetch(`${ORIGIN}/club/home/me`)
expect(res.status).toBe(404)
})
test('unknown routes 404', async () => {
const res = await exports.default.fetch(`${ORIGIN}/nope`)
expect(res.status).toBe(404)
})
})