Skip to content

Commit

Permalink
Merge pull request #1152 from embroider-build/improve-tests-compat
Browse files Browse the repository at this point in the history
improve test suite compat
  • Loading branch information
ef4 authored Mar 7, 2022
2 parents e573e72 + 6970bed commit 61aeeeb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/src/app-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ export class AppFiles {
}

if (relativePath.startsWith('tests/')) {
if (/-test\.\w+$/.test(relativePath)) {
tests.push(relativePath);
}
tests.push(relativePath);
continue;
}

Expand Down

0 comments on commit 61aeeeb

Please sign in to comment.