Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 9, 2024
1 parent f30543c commit a8299df
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/runner/src/collect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export async function collectTests(

for (const filepath of paths) {
const file = createFileTask(filepath, config.root, config.name, runner.pool)
// TODO?
file.shuffle = config.sequence.shuffle

runner.onCollectStart?.(file)
Expand Down
1 change: 0 additions & 1 deletion packages/runner/src/suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ export function getRunner(): VitestRunner {
}

function createDefaultSuite(runner: VitestRunner) {
// TODO?
const { concurrent, shuffle } = runner.config.sequence
return suite('', { concurrent, shuffle }, () => {})
}
Expand Down
2 changes: 1 addition & 1 deletion test/config/test/shuffle-options.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ test('shuffle', async () => {
"pass",
],
]
`);
`)
})

0 comments on commit a8299df

Please sign in to comment.