UNPKG

assertior

Version:

Assertion library with soft assertions

7 lines (6 loc) 649 B
declare function stringIncludesSubstring(expected: string, actual: string, message?: string, _isSoft?: boolean): void; declare function stringNotIncludesSubstring(expected: string, actual: string, message?: string, _isSoft?: boolean): void; declare function stringIsNotEmpty(expected: string, message?: string, _isSoft?: boolean): void; declare function stringIsEmpty(expected: string, message?: string, _isSoft?: boolean): void; declare function toMatchRegex(expected: string, actual: RegExp, message?: string, _isSoft?: boolean): void; export { stringIncludesSubstring, stringNotIncludesSubstring, stringIsNotEmpty, stringIsEmpty, toMatchRegex };