MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / addProduct

Method addProduct

test/data/sandbox/support/bdd_helper.js:42–44  ·  view source on GitHub ↗
(name, price)

Source from the content-addressed store, hash-verified

40 }
41
42 addProduct(name, price) {
43 this.sum += price
44 }
45
46 checkout() {
47 if (this.discountCalc) {

Callers 1

my_other_steps.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected