UNPKG

tstyche

Version:

Everything You Need for Type Testing.

89 lines (88 loc) 2.37 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "checkDeclarationFiles": { "description": "Check declaration files for type errors.", "default": true, "type": "boolean" }, "checkSuppressedErrors": { "description": "Check errors suppressed by '@ts-expect-error' directives.", "default": true, "type": "boolean" }, "failFast": { "description": "Stop running tests after the first failed assertion.", "default": false, "type": "boolean" }, "fixtureFileMatch": { "description": "The list of glob patterns matching the fixture files.", "default": [ "**/__fixtures__/*.{ts,tsx}", "**/fixtures/*.{ts,tsx}" ], "type": "array", "uniqueItems": true, "items": { "type": "string" } }, "quiet": { "description": "Silence all test runner output except errors and warnings.", "default": false, "type": "boolean" }, "rejectAnyType": { "description": "Reject the 'any' type passed as an argument to the 'expect()' function or a matcher.", "default": true, "type": "boolean" }, "rejectNeverType": { "description": "Reject the 'never' type passed as an argument to the 'expect()' function or a matcher.", "default": true, "type": "boolean" }, "reporters": { "description": "The list of reporters to use.", "default": [ "list", "summary" ], "type": "array", "uniqueItems": true, "items": { "type": "string" } }, "target": { "description": "The TypeScript version or range of versions to test against.", "default": "*", "type": "string" }, "testFileMatch": { "description": "The list of glob patterns matching the test files.", "default": [ "**/*.tst.*", "**/__typetests__/*.test.*", "**/typetests/*.test.*" ], "type": "array", "uniqueItems": true, "items": { "type": "string" } }, "tsconfig": { "description": "The TSConfig to load.", "default": "findup", "type": "string" }, "verbose": { "description": "Enable detailed logging.", "default": false, "type": "boolean" } } }