mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
11 lines
259 B
JavaScript
11 lines
259 B
JavaScript
module.exports = ({ rootDir }) => {
|
|
const path = require('path');
|
|
const sanitize = require('sanitize-filename');
|
|
|
|
return {
|
|
buildPathForTestArtifact(artifactName, _testSummary) {
|
|
return path.join(rootDir, sanitize(artifactName));
|
|
}
|
|
};
|
|
};
|