MCPcopy Create free account
hub / github.com/CrazyTim/spin-wheel / createContainer

Function createContainer

scripts/test.js:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export function createContainer() {
39
40 const container = document.createElement('div');
41 jest.spyOn(container, 'clientWidth', 'get').mockReturnValue(500);
42 jest.spyOn(container, 'clientHeight', 'get').mockReturnValue(500);
43 return container;
44
45}

Callers 2

wheel.test.jsFile · 0.90
createWheelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected