Skip to content

Commit

Permalink
Make project path required for executeWPCli
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Sep 12, 2024
1 parent f9e5690 commit a97a483
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/wp-now/src/tests/wp-now.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,9 +832,7 @@ describe('wp-cli command', () => {
* We don't need the WordPress context for this test.
*/
test('wp-cli displays the version', async () => {
const { stdout } = await executeWPCli(['--version'], {
projectPath: '.',
});
const { stdout } = await executeWPCli('.', ['--version']);
expect(stdout).toMatch(/WP-CLI (\d\.?)+/i);
});
});

0 comments on commit a97a483

Please sign in to comment.