My app basically consists of two main parts: a C# plugin that parses the game’s log file and emits events, and the JS part that listen to these events and publish something.
I’m looking at building integration tests that check, for a given log file, if the published output from my app is correct.
To do so, I would need to load the dll plugin from my unit tests (running with Jest).
Today, it fails because the
overwolfplugin.js relies on overwolf.extensions.current.getExtraObject.
Do you know of a way to handle this in unit tests? Has anyone done it yet?