Skip to content

Commit e4fe8a9

Browse files
committed
fix(plugin-eslint): fix unit-test
1 parent b85199b commit e4fe8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-eslint/src/lib/runner/lint.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ describe('lint', () => {
135135
'--no-error-on-unmatched-pattern',
136136
'--format=json',
137137
expect.stringMatching(/--output-file=.*eslint-report\.\d+\.json/),
138-
"'**/*.js'", // wraps in quotes on Unix
138+
expect.stringMatching(/^'?\*\*\/\*\.js'?$/),
139139
],
140140
ignoreExitCode: true,
141141
cwd: '/test',

0 commit comments

Comments
 (0)