8000
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 4d6bab2 commit 5ba03d2Copy full SHA for 5ba03d2
test/e2e/test.js
@@ -34,9 +34,6 @@ function monkeyPatchInquirer (answers) {
34
}
35
36
describe('vue-cli', () => {
37
- /* eslint-disable quotes */
38
- const escapedAuthor = "John \"The Tester\" Doe <john@doe.com>"
39
-
40
const escapedAnswers = {
41
name: 'vue-cli-test',
42
author: 'John "The Tester" Doe <john@doe.com>',
@@ -130,7 +127,7 @@ describe('vue-cli', () => {
130
127
const pkg = fs.readFileSync(`${MOCK_TEMPLATE_BUILD_PATH}/package.json`, 'utf8')
131
128
try {
132
129
var validData = JSON.parse(pkg)
133
- expect(validData.author).to.equal(escapedAuthor)
+ expect(validData.author).to.equal(escapedAnswers.author)
134
done()
135
} catch (err) {
136
done(err)
0 commit comments