UNPKG

archunit

Version:

ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app

15 lines (14 loc) 599 B
import { Violation } from './violation'; import { ProjectedEdge } from '../projection/project-edges'; import { Filter } from '../type'; /** * EmptyTestViolation represents a violation when no files are found that match the preconditions * This helps detect tests that don't actually test anything because they match no files */ export declare class EmptyTestViolation implements Violation { filters: (Filter | string)[]; message: string; isNegated: boolean; dependency?: ProjectedEdge; constructor(filters: Filter[] | string[], customMessage?: string, isNegated?: boolean); }