Skip to content

Commit

Permalink
fix: fix lint errors in lib/stencil-init.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NickTolhurst26 committed Sep 11, 2020
1 parent ea9c76e commit 0b2b328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stencil-init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('StencilInit integration tests', () => {
"normalStoreUrl": cliOptions.url,
"port": cliOptions.port,
"accessToken": cliOptions.token,
}
};
const expectedResult = JSON.stringify({ customLayouts: DEFAULT_CUSTOM_LAYOUTS_CONFIG, ...cliOptionsAsAnswers }, null, 2);
const fsWriteFileSyncStub = jest.spyOn(fs, "writeFileSync").mockImplementation(jest.fn());
const inquirerPromptStub = jest.spyOn(inquirer, 'prompt').mockReturnValue({});
Expand Down Expand Up @@ -253,7 +253,7 @@ describe('StencilInit unit tests', () => {
describe('askQuestions', () => {
it('should call inquirer.prompt with correct arguments when cliOptions are empty', async () => {
const defaultAnswers = getAnswers();
const cliOptions = {}
const cliOptions = {};
const instance = getStencilInitInstance();

await instance.askQuestions(defaultAnswers, cliOptions);
Expand Down

0 comments on commit 0b2b328

Please sign in to comment.