@@ -427,10 +427,8 @@ task("watch-local").flags = {
427427const preTest = parallel ( buildTsc , buildTests , buildServices , buildLssl ) ;
428428preTest . displayName = "preTest" ;
429429
430- const postTest = ( done ) => cmdLineOptions . lint ? lint ( ) : done ( ) ;
431-
432430const runTests = ( ) => runConsoleTests ( "built/local/run.js" , "mocha-fivemat-progress-reporter" , /*runInParallel*/ false , /*watchMode*/ false ) ;
433- task ( "runtests" , series ( preBuild , preTest , runTests , postTest ) ) ;
431+ task ( "runtests" , series ( preBuild , preTest , runTests ) ) ;
434432task ( "runtests" ) . description = "Runs the tests using the built run.js file." ;
435433task ( "runtests" ) . flags = {
436434 "-t --tests=<regex>" : "Pattern for tests to run." ,
@@ -442,18 +440,16 @@ task("runtests").flags = {
442440 " --dirty" : "Run tests without first cleaning test output directories" ,
443441 " --stackTraceLimit=<limit>" : "Sets the maximum number of stack frames to display. Use 'full' to show all frames." ,
444442 " --no-color" : "Disables color" ,
445- " --no-lint" : "Disables lint" ,
446443 " --timeout=<ms>" : "Overrides the default test timeout." ,
447444 " --built" : "Compile using the built version of the compiler." ,
448445 " --shards" : "Total number of shards running tests (default: 1)" ,
449446 " --shardId" : "1-based ID of this shard (default: 1)" ,
450447} ;
451448
452449const runTestsParallel = ( ) => runConsoleTests ( "built/local/run.js" , "min" , /*runInParallel*/ cmdLineOptions . workers > 1 , /*watchMode*/ false ) ;
453- task ( "runtests-parallel" , series ( preBuild , preTest , runTestsParallel , postTest ) ) ;
450+ task ( "runtests-parallel" , series ( preBuild , preTest , runTestsParallel ) ) ;
454451task ( "runtests-parallel" ) . description = "Runs all the tests in parallel using the built run.js file." ;
455452task ( "runtests-parallel" ) . flags = {
456- " --no-lint" : "disables lint." ,
457453 " --light" : "Run tests in light mode (fewer verifications, but tests run faster)." ,
458454 " --keepFailed" : "Keep tests in .failed-tests even if they pass." ,
459455 " --dirty" : "Run tests without first cleaning test output directories." ,
@@ -616,7 +612,6 @@ task("watch").flags = {
616612 " --dirty" : "Run tests without first cleaning test output directories" ,
617613 " --stackTraceLimit=<limit>" : "Sets the maximum number of stack frames to display. Use 'full' to show all frames." ,
618614 " --no-color" : "Disables color" ,
619- " --no-lint" : "Disables lint" ,
620615 " --timeout=<ms>" : "Overrides the default test timeout." ,
621616 " --workers=<number>" : "The number of parallel workers to use." ,
622617 " --built" : "Compile using the built version of the compiler." ,
0 commit comments