How to use the atom-jasmine3-test-runner.createRunner function in atom-jasmine3-test-runner

To help you get started, we’ve selected a few atom-jasmine3-test-runner examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github amejia1 / atom-xterm / spec / custom-runner.js View on Github external
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

import { SpecReporter } from 'jasmine-spec-reporter'
import { createRunner } from 'atom-jasmine3-test-runner'
import prunk from 'prunk'

// Mock imports of stylesheets so that nothing is imported.
prunk.suppress(/\.(?:sa|s?c)ss$/)

module.exports = createRunner({
  reporter: new SpecReporter()
})

atom-jasmine3-test-runner

Run your Atom package tests using Jasmine 3.x

MIT
Latest version published 3 years ago

Package Health Score

36 / 100
Full package analysis

Popular atom-jasmine3-test-runner functions