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 57926ab commit 29bc557Copy full SHA for 29bc557
packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js
@@ -317,6 +317,6 @@ foo=42
317
expect(await read('src/main.js')).toMatch(';')
318
319
const resultsContents = JSON.parse(await read(resultsFile))
320
- const resultForMain = resultsContents.find(({ filePath }) => filePath.endsWith('src/main.js'))
+ const resultForMain = resultsContents.find(({ filePath }) => filePath.endsWith(path.join('src', 'main.js')))
321
expect(resultForMain.messages.length).toBe(0)
322
})
0 commit comments