Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into users/ashwanikumar/runtimePreviewECS
  • Loading branch information
priyanshu92 committed Dec 16, 2024
2 parents a83ce18 + 9dbedcf commit c9d1559
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 11 deletions.
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,34 @@
"group": "build",
"problemMatcher": [],
"label": "gulp: compileWeb"
},
{
"type": "npm",
"script": "test-desktop-int",
"group": "test",
"problemMatcher": [],
"label": "Run Integration Tests: VS Code Deskop"
},
{
"type": "npm",
"script": "test-web-integration",
"group": "test",
"problemMatcher": [],
"label": "Run Integration Tests: VS Code Web"
},
{
"type": "npm",
"script": "test",
"group": "test",
"problemMatcher": [],
"label": "Run Unit Tests"
},
{
"type": "npm",
"script": "coverage",
"group": "test",
"problemMatcher": [],
"label": "Run Code Coverage"
}
]
}
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 c9d1559

Please sign in to comment.