Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b2b75f5

Browse files
committedMay 13, 2019
fix: shared-proj template
1 parent bd612a6 commit b2b75f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎postinstall.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ const run = async () => {
282282

283283
const samplesFilePostfix = "sample.e2e-spec";
284284

285-
// const includeMochawesomeReport = !isWin() && template.testingFramwork === mocha ? `${mochawesome}.` : "";
286-
const includeMochawesomeReport = `${mochawesome}.`;
285+
const includeMochawesomeReport = template.testingFramwork === mocha ? `${mochawesome}.` : "";
287286
copy(resolve(e2eSamplesFolder, `${template.projectType}.${template.testingFramwork}.${samplesFilePostfix}.${includeMochawesomeReport}${template.fileExt}`), resolve(sampleTestsProjectFolderPath, `${samplesFilePostfix}.${template.fileExt}`));
288287
copy(resolve(e2eSamplesFolder, `${template.testingFramwork}.setup.${includeMochawesomeReport}${template.fileExt}`), resolve(sampleTestsProjectFolderPath, `setup.${template.fileExt}`));
289288

0 commit comments

Comments
 (0)
Please sign in to comment.