TSTyche
TSTyche configuration file
| Type | object |
|---|---|
| File match |
tstyche.json
tstyche.config.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/tstyche/latest.json |
| Source | https://tstyche.org/schemas/config.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
checkDeclarationFiles
boolean
Check declaration files for type errors.
checkSuppressedErrors
boolean
Check errors suppressed by '@ts-expect-error' directives.
failFast
boolean
Stop running tests after the first failed assertion.
fixtureFileMatch
string[]
The list of glob patterns matching the fixture files.
[
"**/__fixtures__/*.{ts,tsx}",
"**/fixtures/*.{ts,tsx}"
]
uniqueItems=true
quiet
boolean
Silence all test runner output except errors and warnings.
rejectAnyType
boolean
Reject the 'any' type passed as an argument to the 'expect()' function or a matcher.
rejectNeverType
boolean
Reject the 'never' type passed as an argument to the 'expect()' function or a matcher.
reporters
string[]
The list of reporters to use.
[
"list",
"summary"
]
uniqueItems=true
rootPath
string
The path to a directory containing files of a test project.
target
string
The range of TypeScript versions to test against.
testFileMatch
string[]
The list of glob patterns matching the test files.
[
"**/*.tst.*",
"**/__typetests__/*.test.*",
"**/typetests/*.test.*"
]
uniqueItems=true
tsconfig
string
The look up strategy to be used to find the TSConfig file.
verbose
boolean
Enable detailed logging.