So in our application, we have a custom window property called reactMap. So when you load our site and go to the console and type in "window.reactMap.loaded()" it will return true or false. But when I tried to do this in a TestCafe test by adding:
const mapLoaded = ClientFunction(() => window.reactMap.loaded());
it just complains that Property 'reactMap' does not exist on type 'Window'.
How do I run that bit of code in a TestCafe test? thanks