Skip to content

stefanpenner/ember-cli-update-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ember-cli-update-reporter

Build Status

A utility to patch testem.js to use a specific reporter and reporting options.

Install

yarn add ember-cli-update-reporter

Example

const updater = require('ember-cli-update-reporter');

const updatedCode = updater('module.exports = { /* ... */ };', { reporter: 'xunit', report_file: 'test_results.xml' });

updateCode === `module.exports = { reporter: "xunit", report_file: "build/test_results.xml" };`

Usage

update(testemJsContent: string, reporterOptions: Object<string, {string | boolean}>): string;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published