We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2877a89 commit 74b6bcfCopy full SHA for 74b6bcf
packages/plugin-eslint/src/lib/runner/lint.unit.test.ts
@@ -134,11 +134,11 @@ describe('lint', () => {
134
'--config=".eslintrc.js"',
135
'--no-error-on-unmatched-pattern',
136
'--format=json',
137
- expect.stringMatching(/--output-file=\/test\/eslint-report\.\d+\.json/),
138
- expect.stringContaining('**/*.js'), // wraps in quotes on Unix
+ expect.stringMatching(/--output-file=.*eslint-report\.\d+\.json/),
+ "'**/*.js'", // wraps in quotes on Unix
139
],
140
ignoreExitCode: true,
141
- cwd: MEMFS_VOLUME,
+ cwd: '/test',
142
});
143
144
expect(eslint.calculateConfigForFile).toHaveBeenCalledTimes(3);
0 commit comments