排除的文件不会被跳过

excluded files are not being skipped

所以我有以下 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

我的设置有什么问题?

根据我的理解 "!testing/tests/**/__helpers__/*" 会忽略 __helpers__ 中的所有文件,但是在提供的错误中,setup.ts 在另一个目录中。尝试将其更改为:

"files" : [
    "testing/tests/**",
    "!testing/tests/**/__helpers__/*/**",
]