At the command line, what are the rules for using wildcards to specify the path to tests that BusterJS should run? How do such paths get interpreted by BusterJS? That is, the value provided for the option -t as in the following:

$ buster-test -t <some path that contains wildcards>

有帮助吗?

解决方案

The option "-t" ends up splitting the path on comma and matching the paths using the minimach library.

https://github.com/busterjs/buster-cli/blob/806e3b4c8201a25a4028c4f15b1333bb4e1fd3bd/lib/buster-cli/config.js#L70

It is documented here: https://npmjs.org/package/minimatch

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top