MCPcopy Create free account
hub / github.com/SuperSimpleDev/javascript-course / cartTest.js

File cartTest.js

2-copy-of-code/lesson-16/tests/data/cartTest.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {addToCart, cart, loadFromStorage} from '../../data/cart.js';
2
3describe('test suite: addToCart', () => {
4 it('adds an existing product to the cart', () => {

Callers

nothing calls this directly

Calls 2

loadFromStorageFunction · 0.90
addToCartFunction · 0.90

Tested by

no test coverage detected