console-fail-test
Version:
Gently fails test runs if the console was used during them. 📢
1 lines • 570 B
Source Map (JSON)
{"version":3,"sources":["../src/types.ts"],"sourcesContent":["export interface CftRequest {\n\tconsole: ConsoleSettings;\n\tspyLibrary?: SupportedSpyLibrary;\n\ttestFramework?: SupportedTestFramework;\n}\n\nexport type SupportedSpyLibrary =\n\t| \"fallback\"\n\t| \"jasmine\"\n\t| \"jest\"\n\t| \"sinon\"\n\t| unknown;\n\nexport type SupportedTestFramework = \"jasmine\" | \"jest\" | \"mocha\" | unknown;\n\nexport type ConsoleSettings = {\n\t[P in keyof Console]?: Console[P] extends Function ? boolean : never;\n};\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}