From 5de174dce41a260530dade848bdcadc5daf78b7f Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Tue, 14 Jun 2022 13:23:26 -0300 Subject: [PATCH] fix correct unit test to api files --- apps/meteor/.mocharc.api.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/meteor/.mocharc.api.js b/apps/meteor/.mocharc.api.js index 934fd1509ae1..c7994105d68a 100644 --- a/apps/meteor/.mocharc.api.js +++ b/apps/meteor/.mocharc.api.js @@ -9,5 +9,10 @@ module.exports = { timeout: 10000, bail: true, file: 'tests/end-to-end/teardown.js', - spec: ['tests/unit/app/api/server/v1/*.spec.ts', 'tests/end-to-end/api/*.js', 'tests/end-to-end/api/*.ts', 'tests/end-to-end/apps/*.js'], + spec: [ + 'tests/unit/app/api/server/v1/**/*.spec.ts', + 'tests/end-to-end/api/*.js', + 'tests/end-to-end/api/*.ts', + 'tests/end-to-end/apps/*.js', + ], };