question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configure output path from CLI

See original GitHub issue

Hello. Is there any way to configure outputPath from CLI? I mean something like that:

"scripts": {
        "jenkins:test": "npm run test --testResultsProcessor=jest-html-reporter --outputPath=../../reports"
},

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xilarauxcommented, Jun 26, 2018

Oh, yeah. Now I get it. I just thought that there is some way to configure plugin through CLI. Thank you for your help. 😄

0reactions
Hargnecommented, Jun 26, 2018

When using the jest.config-file you would configure the plugin in the object following “jest-html-reporter” as such:

"reporters": [
	"default",
	["./node_modules/jest-html-reporter", {
		"pageTitle": "Test Suite Report",
		"outputPath": "test-report.html",
		"includeFailureMsg": true,
		"includeConsoleLog": true,
		"sort": "titleAsc"
	}]
]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Change build output path in command line building - MSDN
If you are Visual Studio, you can set output path by opening Properties of the project->Build tag->Output, then choose the output you want....
Read more >
7zip - Command Line: how to set output path? - Super User
Always read the manual! -o (set Output directory) switch: Specifies a destination directory where files are to be extracted. This switch can be ......
Read more >
Set Output Location per Build - Advanced Installer
This command allows you to specify a different output location for every build contained in your project. The specified output folder can have...
Read more >
How to configure the path of output directory in xcode 7.3.1 for ...
My question is, how can I configure xcode to put the binary file inside my project directory so that I can easily run...
Read more >
Change output path from command line · Issue #447 - GitHub
I need to change the output directory where packaged files are written when encore is run on the command line. I tried this:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found