diff --git a/acceptance-tests/tests/init-personal-access-key.spec.js b/acceptance-tests/tests/init-personal-access-key.spec.js index a5b5cd191..cefb60e25 100644 --- a/acceptance-tests/tests/init-personal-access-key.spec.js +++ b/acceptance-tests/tests/init-personal-access-key.spec.js @@ -16,10 +16,14 @@ describe('hs init using personalAccessKey', () => { }); it('should create a new config file', async () => { - await cli.execute( - ['init', `--c="${CONFIG_FILE_PATH}"`], - [config.personalAccessKey, cmd.ENTER, 'QA', cmd.ENTER] - ); + try { + await cli.execute( + ['init', `--c="${CONFIG_FILE_PATH}"`], + [config.personalAccessKey, cmd.ENTER, 'QA', cmd.ENTER] + ); + } catch (e) { + console.log(e); + } expect(existsSync(CONFIG_FILE_PATH)).toBe(true); }); diff --git a/packages/webpack-cms-plugins/package.json b/packages/webpack-cms-plugins/package.json index e2b5609ba..be13d715d 100644 --- a/packages/webpack-cms-plugins/package.json +++ b/packages/webpack-cms-plugins/package.json @@ -17,7 +17,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@hubspot/cli-lib": "^4.2.2" + "@hubspot/cli-lib": "^4.2.2", + "@hubspot/local-dev-lib": "^0.0.7" }, "gitHead": "0659fd19cabc3645af431b177c11d0c1b089e0f8" }