mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed browser tests incorrectly executing Stripe CLI
- we shouldn't try and load the Stripe CLI via the dev script because it's done in the browser tests and involves more setup than the dev script contains - this cuts 2mins from the browser tests because they're no longer waiting for the Stripe CLI to be auth'd
This commit is contained in:
parent
0656bd4de8
commit
9093ffbf98
1 changed files with 1 additions and 1 deletions
2
.github/scripts/dev.js
vendored
2
.github/scripts/dev.js
vendored
|
@ -196,7 +196,7 @@ if (DASH_DASH_ARGS.includes('comments') || DASH_DASH_ARGS.includes('all')) {
|
|||
|
||||
async function handleStripe() {
|
||||
if (DASH_DASH_ARGS.includes('stripe') || DASH_DASH_ARGS.includes('all')) {
|
||||
if (DASH_DASH_ARGS.includes('offline')) {
|
||||
if (DASH_DASH_ARGS.includes('offline') || DASH_DASH_ARGS.includes('browser-tests')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue