Full app test does not pick tests from internal packages


I have code structure like

  - pkg1
       - tests (2)
           - *app.spec.js
tests (1)
  - *.app.spec.js

I have all my full app tests in tests (1) folder. We are now moving some of the code into a package pkg1. I also want to move the test files to test folder inside pkg1 i.e. tests (2). After moving the test files to tests (2) folder, if I try to run the tests in full app mode, the tests in tests (2) folder are not getting executed.

How can I move all my tests to this folder?

1 Like