import { NoXss } from '@db/utils/customValidators'; import { validate } from 'class-validator'; describe('customValidators', () => { describe('NoXss', () => { class Person { @NoXss() name: string; } const person = new Person(); const invalidNames = ['http://google.com', '