Skip to content

Commit

Permalink
Remove redundant step from gulp file (#1079)
Browse files Browse the repository at this point in the history
The step `testWeb` is redundant as the step `testUnitTests` already includes the test pattern defined in `testWeb` step. Hence, removing it from gulp config.
  • Loading branch information
priyanshu92 authored Dec 16, 2024
1 parent 3879970 commit 9dbedcf
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -434,7 +425,6 @@ export {
snapshot,
lint,
test,
testWeb,
compileIntegrationTests,
testInt,
testWebInt,
Expand Down

0 comments on commit 9dbedcf

Please sign in to comment.