mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-24 08:08:54 -06:00
test: fix windows path
This commit is contained in:
@@ -317,6 +317,6 @@ foo=42
|
||||
expect(await read('src/main.js')).toMatch(';')
|
||||
|
||||
const resultsContents = JSON.parse(await read(resultsFile))
|
||||
const resultForMain = resultsContents.find(({ filePath }) => filePath.endsWith('src/main.js'))
|
||||
const resultForMain = resultsContents.find(({ filePath }) => filePath.endsWith(path.join('src', 'main.js')))
|
||||
expect(resultForMain.messages.length).toBe(0)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user