Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 657 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 657 Bytes

cypress-test-nested-projects

CircleCI

Folder structure:

package.json
node_modules
src/
    clients/
        foo/
            cypress.json
            cypress/
        bar/
            cypress.json
            cypress/

Package scripts test subfolders (using relative and absolute paths)

{
  "scripts": {
    "test": "npm run test-foo && npm run test-bar",
    "test-foo": "cypress run --project ./src/clients/foo",
    "test-bar": "cypress run --project $PWD/src/clients/bar"
  }
}