- Mock mouseEvent as an object with a key of pageX - Mock canvas as an object with two keys: offsetLeft and width Run the movePaddle function and check that the x is changing as expected
Run the movePaddle function and check that the x is changing as expected