Skip to content

Commit e5e16e1

Browse files
authored
fix: include mocks in ignore config (#58)
# Summary Hi there My goal is ignoring __mocks__ folder during the build ![image](https://user-images.githubusercontent.com/12049854/84309668-d1859e00-ab36-11ea-9f32-537ceb3f03a6.png) ## Test Plan <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. --> ### What's required for testing (prerequisites)? nothing ### What are the steps to reproduce (after prerequisites)? nothing
1 parent ed0289e commit e5e16e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async function compile({
2727
cwd: source,
2828
absolute: true,
2929
nodir: true,
30-
ignore: '**/{__tests__,__fixtures__}/**',
30+
ignore: '**/{__tests__,__fixtures__,__mocks__}/**',
3131
});
3232

3333
report.info(

0 commit comments

Comments
 (0)