Describe the bug
When using marge on a file that is not located in the current working directory, the assets directory is still placed at the root of the export location.
The exported .html file is expecting the assets directory to be alongside it, and browsing the html file results in an error being thrown because the assets cannot be found.
Expected behavior
The assets directory should be created alongside the exported html file.
Screenshots
Environment (please complete the following information):
Platform: Windows.
mochawesome version: 6.2.0
mocha (or other test library) version: Cypress v13.0.0
Node version: 16.16.0
Additional context
A workaround for this issue is to use the -i flag to have the html generated with the assets inline.
Describe the bug When using marge on a file that is not located in the current working directory, the assets directory is still placed at the root of the export location.
The exported .html file is expecting the assets directory to be alongside it, and browsing the html file results in an error being thrown because the assets cannot be found.
Expected behavior The assets directory should be created alongside the exported html file.
Screenshots
Environment (please complete the following information):
Additional context A workaround for this issue is to use the -i flag to have the html generated with the assets inline.