Skip to content

Commit da7699d

Browse files
committed
wp-now: change wp-cli test version
1 parent 1766aa1 commit da7699d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/wp-now/src/tests/wp-now.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,9 @@ describe('wp-cli command', () => {
532532
function collectOutput(outputLine: string) {
533533
output += outputLine;
534534
}
535-
await executeWPCli(['--version'], {
535+
await executeWPCli(['cli', 'version'], {
536536
print: collectOutput,
537537
});
538-
expect(output).toMatch('WP-CLI ');
538+
expect(output).toMatch(/WP-CLI (\d\.?)+/i);
539539
});
540540
});

0 commit comments

Comments
 (0)