mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
10 lines
320 B
TypeScript
10 lines
320 B
TypeScript
import { describe, it, expect } from 'vitest'
|
|
import { passwordSchema } from './schemas'
|
|
|
|
describe('passwordSchema', () => {
|
|
it('validates a basic password', async () => {
|
|
const result = await passwordSchema.validate({ password: 'ValidPassword123!' })
|
|
expect(result.password).toBe('ValidPassword123!')
|
|
})
|
|
})
|