diego3g / electron-typescript-react

:electron: An Electron boilerplate including TypeScript, React, Jest and ESLint.
1.45k stars 295 forks source link

testing set up #77

Open henrylamb opened 2 years ago

henrylamb commented 2 years ago

So I'm trying to write a test , but the window.Main.exampleMethod() is resulting in an error whereas it isn't for the Greetings component test. Do I need to set something up so that I can use new methods in the bridge file ? Sorry if this is a dumb question.

Thanks