Commit a7dc86a 1 parent bfadcb5 commit a7dc86a Copy full SHA for a7dc86a
File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ const parseArgumentsIntoOptions = rawArgs => {
21
21
}
22
22
}
23
23
24
- const cli = ( args ) => {
24
+ // eslint-disable-next-line import/prefer-default-export
25
+ export function cli ( args ) {
25
26
const options = parseArgumentsIntoOptions ( args )
26
27
if ( options . updateBaseline ) {
27
28
// Only update image if it failed the comparison
@@ -37,5 +38,3 @@ const cli = (args) => {
37
38
}
38
39
}
39
40
}
40
-
41
- export default cli
Original file line number Diff line number Diff line change 1
1
import colors from 'colors/safe'
2
2
import { copySync , readdirSync } from 'fs-extra'
3
3
4
- import cli from './cli'
4
+ import { cli } from './cli'
5
5
6
6
jest . mock ( 'fs-extra' , ( ) => ( {
7
7
...jest . requireActual ( 'fs-extra' ) ,
You can’t perform that action at this time.
0 commit comments