Skip to content

Commit b54e4f6

Browse files
Copilottolauwae
andcommitted
Restore original names for SimpleScheduler and levels in Scheduler.ts
Co-authored-by: tolauwae <31000331+tolauwae@users.noreply.github.com>
1 parent df92873 commit b54e4f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/framework/Scheduler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class NoScheduler implements Scheduler {
2323
}
2424
}
2525

26-
export class _SimpleScheduler implements Scheduler {
26+
export class SimpleScheduler implements Scheduler {
2727
identifier = 'sort on program';
2828

2929
public sequential(suite: Suite): TestScenario[] {
@@ -176,7 +176,7 @@ function comparator(a: TestScenario, b: TestScenario): number {
176176
}
177177

178178
// aggregate dependence forest into levels
179-
function _levels(input: TestScenario[]): TestScenario[][] {
179+
function levels(input: TestScenario[]): TestScenario[][] {
180180
// input
181181
input.sort((a: TestScenario, b: TestScenario) => (a.dependencies ?? []).length - (b.dependencies ?? []).length);
182182
// output

0 commit comments

Comments
 (0)