因此,我有以下files设置
"files" : [
"testing/tests/**",
"!testing/tests/**/__helpers__/*",
],但是,不会跳过__helpers__文件夹中的文件
✖ No tests found in testing/tests/graphql/stage-2/__helpers__/workspace/setup.ts, make sure to import "ava" at the top of your test file
- graphql › stage-2 › tests › workspace.ts › do later
✔ general › tests › functions.ts › functions returns proper difference
─
`--fail-fast` is on. 1 test file was skipped.
1 test passed
1 test todo我的设置有什么问题?
发布于 2020-06-19 15:44:34
根据我的理解,"!testing/tests/**/__helpers__/*"会忽略__helpers__中的所有文件,但是在提供的错误中,setup.ts位于另一个目录中。尝试将其更改为:
"files" : [
"testing/tests/**",
"!testing/tests/**/__helpers__/*/**",
]https://stackoverflow.com/questions/62465010
复制相似问题