Skip to content

Commit

Permalink
Fix fixture test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
JadenSimon committed Jun 28, 2024
1 parent 0d857af commit 3fdd294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testing/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async function findTests(testDir: string, patterns = ['**/*.ts']) {

export async function main(...patterns: string[]) {
const testDir = path.resolve(getWorkingDir(), 'test', 'fixtures')
const tests = await findTests(testDir, patterns)
const tests = await findTests(testDir, patterns.length === 0 ? undefined : patterns)

const failures: [string, unknown][] = []
for (const test of tests) {
Expand Down

0 comments on commit 3fdd294

Please sign in to comment.