Issue #442 Prettier rules not applied to some integration tests files (#445)

This commit is contained in:
Mark
2021-10-08 12:11:58 +02:00
committed by GitHub
parent fe0696569c
commit 3d891c9b4f
17 changed files with 425 additions and 421 deletions
+16 -16
View File
@@ -1,59 +1,59 @@
import { PaymentService } from "medusa-interfaces";
import { PaymentService } from "medusa-interfaces"
class TestPayService extends PaymentService {
static identifier = "test-pay";
static identifier = "test-pay"
constructor() {
super();
super()
}
async getStatus(paymentData) {
return "authorized";
return "authorized"
}
async retrieveSavedMethods(customer) {
return Promise.resolve([]);
return Promise.resolve([])
}
async createPayment() {
return {};
return {}
}
async retrievePayment(data) {
return {};
return {}
}
async getPaymentData(sessionData) {
return {};
return {}
}
async authorizePayment(sessionData, context = {}) {
return { data: {}, status: "authorized" };
return { data: {}, status: "authorized" }
}
async updatePaymentData(sessionData, update) {
return {};
return {}
}
async updatePayment(sessionData, cart) {
return {};
return {}
}
async deletePayment(payment) {
return {};
return {}
}
async capturePayment(payment) {
return {};
return {}
}
async refundPayment(payment, amountToRefund) {
return {};
return {}
}
async cancelPayment(payment) {
return {};
return {}
}
}
export default TestPayService;
export default TestPayService