Open bgr11n opened 4 years ago
I believe this is a limitation of this library. The electron process is spawned by this library within @jest-runner/electron so that directory within node_modules becomes the application path when you try app.getAppPath().
Hi!
I am getting wrong result of
app.getAppPath()
while running test.How to reproduce?
Use
app.getAppPath()
somewhere inside you class, write test for this class, run test.Actual result:
Expected result:
Or maybe I have wrong configuration somewhere?