Skip to content

Commit 6507c2e

Browse files
matejchalkBioPhoton
authored andcommitted
fix(cli): run npm install before tests
1 parent 6f5f677 commit 6507c2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/cli/src/lib/cli.spec.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
import { execSync } from 'child_process';
12
import { cli } from './cli';
23

34
describe('cli', () => {
5+
beforeAll(() => {
6+
// symlink NPM workspaces
7+
execSync('npm install');
8+
});
9+
410
it('.js', async () => {
511
await expect(cli('./packages/cli/src/lib/config.mock.js')).resolves.toEqual(
612
{

0 commit comments

Comments
 (0)