Skip to content

Commit

Permalink
fix(cli): run npm install before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk authored and BioPhoton committed Aug 30, 2023
1 parent 6f5f677 commit 6507c2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cli/src/lib/cli.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { execSync } from 'child_process';
import { cli } from './cli';

describe('cli', () => {
beforeAll(() => {
// symlink NPM workspaces
execSync('npm install');
});

it('.js', async () => {
await expect(cli('./packages/cli/src/lib/config.mock.js')).resolves.toEqual(
{
Expand Down

0 comments on commit 6507c2e

Please sign in to comment.