Skip to content
This repository was archived by the owner on Sep 4, 2023. It is now read-only.
This repository was archived by the owner on Sep 4, 2023. It is now read-only.

Runner fails if an array of testPaths are given and the folders are missing #167

@aminya

Description

@aminya

Runner fails if an array of testPaths are given and the folders are missing. Here I gave two folders, but because the next one is missing the runner fails. There should be a check before erroring.

const { createRunner } = require("atom-jasmine3-test-runner")

// https://github.com/UziTech/atom-jasmine3-test-runner#api
module.exports = createRunner({
  testPackages: [],
  suffix: "-test",
  legacySuffix: "-test-v1",
  testPaths: ["__tests__", "__atom_tests__"],
  timeReporter: true,
  silentInstallation: true,
  specHelper: false
})
Error: ENOENT: no such file or directory 'C:\Users\aminy\Documents\GitHub\JavaScript\@atom-ide-community\atom-ide\nuclide\nuclide-adb\__atom_tests__' from testPaths

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