mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 10:41:06 +01:00
fix typo
This commit is contained in:
@@ -37,14 +37,14 @@ const options = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const createOuputFile = test => {
|
const createOutputFile = test => {
|
||||||
const title = test.title.join(" -- ");
|
const title = test.title.join(" -- ");
|
||||||
return path.join("cypress", "videos", `${title}.mp4`);
|
return path.join("cypress", "videos", `${title}.mp4`);
|
||||||
};
|
};
|
||||||
|
|
||||||
const cutVideo = (video, test) => {
|
const cutVideo = (video, test) => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const title = createOuputFile(test);
|
const title = createOutputFile(test);
|
||||||
ffmpeg(video)
|
ffmpeg(video)
|
||||||
.setStartTime(test.videoTimestamp / 1000)
|
.setStartTime(test.videoTimestamp / 1000)
|
||||||
.setDuration(test.wallClockDuration / 1000)
|
.setDuration(test.wallClockDuration / 1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user