Files
waggle-os/apps/www/__tests__/middleware.test.ts
Oleg Maslov b20b138fe4 moving
2026-09-02 10:14:22 +02:00

14 lines
336 B
TypeScript

import { describe, expect, it } from 'vitest';
import { config } from '../proxy';
describe('www Clerk proxy boundary', () => {
it('protects only identity and server-owned flows', () => {
expect(config.matcher).toEqual([
'/account(.*)',
'/sign-in(.*)',
'/sign-up(.*)',
'/(api|trpc)(.*)',
]);
});
});