archunit
Version:
ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app
16 lines • 519 B
JavaScript
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentService = void 0;
class PaymentService {
processPayment(amount) {
console.log(`Processing payment of $${amount}`);
return true;
}
validatePayment(paymentData) {
// Payment validation logic
return paymentData && paymentData.amount > 0;
}
}
exports.PaymentService = PaymentService;
//# sourceMappingURL=payment-service.js.map
;