Missing trailing slash in resultDir.
See original GitHub issueDefault resultDir
results in broken file structure when generating the report:
I think this:
https://github.com/dkelosky/jest-stare/blob/v1.6.0/src/processor/Config.ts#L50 should add trailing slash also for default value:
if (config.resultDir == null) {
config.resultDir = Constants.DEFAULT_RESULTS_DIR;
}
config.resultDir = config.resultDir + "/";
The other thing that would be useful is to allow to pass config options in jest config. The following doesn’t seem to work:
reporters: [
['jest-stare', {
resultDir: 'report'
}]
];
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
asp.net - Why redirects happens on missing of a trailing slash ...
One of the most wasteful redirects happens when a trailing slash (/) is missing from a URL that should otherwise have one.
Read more >Missing trailing slash in URL on subpages resulting in Moz PA ...
Even here in moz community I am noticing it. Is it really a factor to have an ending slash on the page? Does...
Read more >Missing trailing slash in generated URLs #156 - GitHub
After pulling the latest version of claat (1a49757), I'm noticing that the generated code contains errors in the generated HTML.
Read more >Missing trailing slash of home url - WordPress.org
The about us and team links have trailing slashes in the url but home does not. The missing slash is creating a chain...
Read more >apache 2.4 - Website root trailing slash auto-removed (issue)
... the trailing slash on the target URL! This will result in the malformed (missing slash after the domain) redirect you are seeing....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dkelosky I tested it against
1.6.8
(1.6.5
had installation failure) and looks good! Thanks!Just reproduced that, thank you.