Skip to content

Commit

Permalink
Remove unneeded var
Browse files Browse the repository at this point in the history
  • Loading branch information
riesinger committed Mar 9, 2017
1 parent 4d6bab2 commit 5ba03d2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ function monkeyPatchInquirer (answers) {
}

describe('vue-cli', () => {
/* eslint-disable quotes */
const escapedAuthor = "John \"The Tester\" Doe <john@doe.com>"

const escapedAnswers = {
name: 'vue-cli-test',
author: 'John "The Tester" Doe <john@doe.com>',
Expand Down Expand Up @@ -130,7 +127,7 @@ describe('vue-cli', () => {
const pkg = fs.readFileSync(`${MOCK_TEMPLATE_BUILD_PATH}/package.json`, 'utf8')
try {
var validData = JSON.parse(pkg)
expect(validData.author).to.equal(escapedAuthor)
expect(validData.author).to.equal(escapedAnswers.author)
done()
} catch (err) {
done(err)
Expand Down

0 comments on commit 5ba03d2

Please sign in to comment.