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.

Consider adding configuration in reporter declaration

See original GitHub issue

hi,

We can already use the plugin from a jest.config.js as such:

reporters: [
  'default',
  'jest-html-reporter',
]

But we need to create a jesthtmlreporter.config.json.

Desired (fits other reporters config api):

reporters: [
  'default',
  [
    'jest-html-reporter',
    {
      executionMode: 'reporter',
      pageTitle: '...',
      outputPath: '...',
    },
  ],
],

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Hargnecommented, Jun 17, 2018

@pascalduez @jpicton could you take a look at the PR regarding this (#44) and see if this solves this issue for you?

Thanks!

1reaction
jpictoncommented, Jun 15, 2018

Can you do something similar to what they’ve done with jest-junit (which can also be used in both ways)? See https://github.com/jest-community/jest-junit/blob/master/index.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enterprise Reporter 3.2.1 - Configuration Manager User Guide
In this example, information about a job identified with the name of Active Directory is returned. Get-ERJobDefinition -JobDefinitionName "Active Directory".
Read more >
Configuring Jest
A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used. ... Setting this option overwrites...
Read more >
Pylint configuration - Codeac
We suggest to add your own configuration file into your repository root directory to be able to specify your coding and quality standards....
Read more >
Contexts and Dependency Injection - Quarkus
Quarkus extensions may declare additional discovery rules. ... a Configuration } @Produces @DefaultBean public Reporter reporter(){ // create a Reporter } }.
Read more >
Full Text Bug Listing - Bugs
Product: [Eclipse Project] JDT, Reporter: Nathan Reynolds <numeralnathan> ... Please add an option to configure where the local variable declaration is ...
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