Skip to content

Commit

Permalink
Fix var/const from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed May 21, 2021
1 parent 06203f8 commit ddcd09e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/inquirer/test/specs/inquirer.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('inquirer.prompt', () => {
});

it('should take a prompts nested object and return answers', async function () {
var prompts = {
const prompts = {
q1: {
type: 'confirm',
message: 'message',
Expand All @@ -110,7 +110,7 @@ describe('inquirer.prompt', () => {
},
};

var promise = this.prompt(prompts);
const promise = this.prompt(prompts);
autosubmit(promise.ui);
const { q1, q2 } = await promise;
expect(q1).to.equal(true);
Expand Down

0 comments on commit ddcd09e

Please sign in to comment.