-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
When trying to run tests, I get the following error:
FAIL src/__type_tests__/pick-deep.test-d.ts
● Test suite failed to run
Could not find test files. Create one and try again
It seems like there isn't anything being found from mlh-tsd in findCustomTestFiles. If, after globby, I output:
console.log({testFilesPattern, testFiles, cwd})
I get this:
{
testFilesPattern: [
'C:\\Users\\crutchcorn\\git\\UnicornUtter\\ts-util-helpers\\src\\__type_tests__\\pick-deep.test-d.ts'
],
testFiles: [],
cwd: 'C:\\Users\\crutchcorn\\git\\UnicornUtter\\ts-util-helpers'
}
My jest file is this:
module.exports = {
runner: 'jest-runner-tsd',
testMatch: ['**/*.test-d.ts'],
};
And my test is indeed in the pick-deep.test-d.ts path
I'm running Windows 11 if that helps
Metadata
Metadata
Assignees
Labels
No labels