Skip to content

Commit

Permalink
fix: treat story files like tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benawad committed Aug 19, 2020
1 parent 9d75c93 commit 16edcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/generateTrees/shared/isTestFile.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const isTestFile = (f: string) =>
/\.test\.|\.spec\.|\.stories\./.test(f);
/\.test\.|\.spec\.|\.story\.|\.stories\./.test(f);

0 comments on commit 16edcb7

Please sign in to comment.