@hanseltime/pkgtest / TestConfig
Interface: TestConfig
Properties
additionalDependencies?
optionaladditionalDependencies:object
Additional dependencies that can't be inferred from the project's package.json or other explicit fields like "typescript.tsx.version".
Index Signature
[pkg: string]: string
additionalFiles?
optionaladditionalFiles:AdditionalFilesEntry[]
If you would like to place additional files within the test projects
entries
entries:
TestConfigEntry[]
Logical unit separating out what test files should be run and under what conditions.
locks
locks:
boolean| {folder:string; }
Behavior for package locks
matchIgnore?
optionalmatchIgnore:string[]
A string of globs to ignore when searching for file test matches. This is helpful for performance by ensuring that we skip scanning large directories like node_modules.
Keep in mind that this glob is relative to rootDir.
(As a matter of performance, we don't scan node_modules, .yarn, or .git)
packageJson?
optionalpackageJson:Omit\<PackageJson,"name">
This will override the test Project PackageJson with the specific values
rootDir?
optionalrootDir:string
The directory that we will match our globs against. This path is relative to the directory with the pkgtest.config file.
Default
"./"