9 lines
269 B
Plaintext
9 lines
269 B
Plaintext
import { describe, expect, it } from 'vitest'
|
|
import { responseSchema } from './schema'
|
|
|
|
describe('__FEATURE__ response contract', () => {
|
|
it('fails closed for an unapproved empty payload', () => {
|
|
expect(responseSchema.safeParse({}).success).toBe(false)
|
|
})
|
|
})
|