Skip to content

Testing steps (seem) to be wrong #109

@Suya1671

Description

@Suya1671

Describe the bug
I'm trying to test an angular app that uses ngx-electron, so I would assume that the test command template would work, but it doesnt

To Reproduce
Steps to reproduce the behavior:

  1. Initalize nx workspace using angular
  2. add ngx-electron
    2.1 yarn add ngx-electron
    2.2 import NgxElectronModule from it and add it into your app modules import
    2.3 create a service with tests
    2.4 inject ElectronService
  3. add an electron app using this that points to the angular project
  4. run nx run-many --target=test --projects=<frontend-app>,<electron-app> --parallel
  5. See error

Expected behavior
It runs the electron app and works

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11 Insider build
  • Nx Electron Version 11.1.3

Additional context
If you need code I can provide I repo soon:tm:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions