Skip to content

Commit 5ba03d2

Browse files
committed
Remove unneeded var
1 parent 4d6bab2 commit 5ba03d2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/e2e/test.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ function monkeyPatchInquirer (answers) {
3434
}
3535

3636
describe('vue-cli', () => {
37-
/* eslint-disable quotes */
38-
const escapedAuthor = "John \"The Tester\" Doe <[email protected]>"
39-
4037
const escapedAnswers = {
4138
name: 'vue-cli-test',
4239
author: 'John "The Tester" Doe <[email protected]>',
@@ -130,7 +127,7 @@ describe('vue-cli', () => {
130127
const pkg = fs.readFileSync(`${MOCK_TEMPLATE_BUILD_PATH}/package.json`, 'utf8')
131128
try {
132129
var validData = JSON.parse(pkg)
133-
expect(validData.author).to.equal(escapedAuthor)
130+
expect(validData.author).to.equal(escapedAnswers.author)
134131
done()
135132
} catch (err) {
136133
done(err)

0 commit comments

Comments
 (0)