mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Rename this function so it stops shadowing a local we use elsewhere (#33692)
This commit is contained in:
parent
8292af182c
commit
6b63c1bc5c
@ -137,14 +137,14 @@ namespace Harness.Parallel.Worker {
|
||||
*/
|
||||
function runTests(task: Task, fn: (payload: TaskResult) => void) {
|
||||
if (task.runner === "unittest") {
|
||||
return runUnitTests(task, fn);
|
||||
return executeUnitTests(task, fn);
|
||||
}
|
||||
else {
|
||||
return runFileTests(task, fn);
|
||||
}
|
||||
}
|
||||
|
||||
function runUnitTests(task: UnitTestTask, fn: (payload: TaskResult) => void) {
|
||||
function executeUnitTests(task: UnitTestTask, fn: (payload: TaskResult) => void) {
|
||||
if (!unitTestSuiteMap && unitTestSuite.suites.length) {
|
||||
unitTestSuiteMap = ts.createMap<Mocha.Suite>();
|
||||
for (const suite of unitTestSuite.suites) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user