TypeError: Cannot read property 'jsxDEV' of undefined
38 | const TAB_ROUTES_TESTID = 'tabroutestestid'
39 | // @ts-expect-error apparently TS doesn't like made up dom elements
> 40 | jest.mock('./LazyDeviceTabRoutes', () => <mock-LazyDeviceTabRoutes data-testid={TAB_ROUTES_TESTID} />)
I'm doing import React from 'react' just in case, and otherwise, I have no idea why I would get this error. I'd add more context, but I don't know what context to add, because the mock is simple and it's erroring on the jsx/html itsself. (the little carrot is pointing at <mock-)