cli: Require test files to end in .spec.ts

This commit is contained in:
Armani Ferrante 2021-03-01 17:55:14 +08:00
parent 425d2e868b
commit 8c985ecba0
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
2 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ fn test(skip_deploy: bool, skip_local_validator: bool) -> Result<()> {
.arg("./tsconfig.json")
.arg("-t")
.arg("1000000")
.arg("tests/**/*.ts")
.arg("tests/**/*.spec.ts")
.env("ANCHOR_PROVIDER_URL", cfg.cluster.url())
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())