REFACTOR: Use the new format for acceptance tests. (#37)
This commit is contained in:
@@ -4,7 +4,7 @@ export function stubStripe() {
|
||||
window.Stripe = () => {
|
||||
return {
|
||||
createPaymentMethod() {
|
||||
return new Promise(resolve => {
|
||||
return new Promise((resolve) => {
|
||||
resolve({});
|
||||
});
|
||||
},
|
||||
@@ -14,11 +14,11 @@ export function stubStripe() {
|
||||
return {
|
||||
on() {},
|
||||
card() {},
|
||||
mount() {}
|
||||
mount() {},
|
||||
};
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user