From 801f379e312c6a4afd7413075245666f30ed2a29 Mon Sep 17 00:00:00 2001 From: Priyanshu Agrawal Date: Mon, 16 Dec 2024 16:15:09 +0530 Subject: [PATCH] Remove redundant step from gulp file The step `testWeb` is redundant as the step `testUnitTests` already includes the test pattern defined in `testWeb` step. Hence, removing it from gulp config. --- gulpfile.mjs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/gulpfile.mjs b/gulpfile.mjs index 19c8b730..146cf021 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -215,17 +215,8 @@ function testUnitTests() { ); } -function testWeb() { - return gulp.src(["src/web/client/test/unit/**/*.ts"], { read: false }).pipe( - mocha({ - require: ["ts-node/register"], - ui: "bdd", - }) - ); -} - // unit tests without special test runner -const test = gulp.series(testUnitTests, testWeb); +const test = gulp.series(testUnitTests); /** * Compiles the integration tests and transpiles the results to /out @@ -434,7 +425,6 @@ export { snapshot, lint, test, - testWeb, compileIntegrationTests, testInt, testWebInt,