jest-cucumber
Version:
Execute Gherkin scenarios in Jest
17 lines • 527 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BankAccount = void 0;
var BankAccount = /** @class */ (function () {
function BankAccount() {
this.balance = 0;
}
BankAccount.prototype.deposit = function (amount) {
this.balance += amount;
};
BankAccount.prototype.withdraw = function (amount) {
this.balance -= amount;
};
return BankAccount;
}());
exports.BankAccount = BankAccount;
//# sourceMappingURL=bank-account.js.map