MCPcopy Create free account
hub / github.com/af/envalid / validators.test.ts

File validators.test.ts

tests/validators.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { test, expect } from 'vitest'
2import { cleanEnv, makeValidator, str, bool, num, email, host, port, url, json } from '../src'
3import { assertPassthrough } from './utils'
4

Callers

nothing calls this directly

Calls 3

cleanEnvFunction · 0.90
assertPassthroughFunction · 0.90
makeValidatorFunction · 0.90

Tested by

no test coverage detected