문제

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