Skip to content

Commit

Permalink
Add local-dev-lib dep to cms plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Oct 27, 2023
1 parent cef5f24 commit ace5f3c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 8 additions & 4 deletions acceptance-tests/tests/init-personal-access-key.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
3 changes: 2 additions & 1 deletion packages/webpack-cms-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit ace5f3c

Please sign in to comment.