Slide 19
Slide 19 text
Configure
SKETCH
describe('Product', () => {
describe('When a price is given', () => {
it('should yield the actual price', () => {
const givenPrice = 300;
const product = Kentan.sketch(ForProduct).model();
expect(product.priceInDollars).toBe(givenPrice);
});
});
});