File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { describe , it , jest } from '@jest/globals' ;
2
- import path from 'node:path' ;
3
- import os from 'node:os' ;
4
- import { concat } from '../src/ffmpeg-concat.js' ;
5
2
6
- const isMac = os . platform ( ) === 'darwin' ;
7
- const getFile = ( file : string ) => path . join ( process . cwd ( ) , file ) ;
8
- const output = isMac ? 'example_mac.mp4' : 'example_linux.mp4' ;
3
+ // const isMac = os.platform() === 'darwin';
4
+ // const getFile = (file: string) => path.join(process.cwd(), file);
5
+ // const output = isMac ? 'example_mac.mp4' : 'example_linux.mp4';
9
6
10
7
describe ( 'concat function' , ( ) => {
11
8
it (
12
9
'should concatenate videos successfully' ,
13
- async ( ) => {
10
+ ( ) => {
14
11
const mockEnsureDirSync = jest . fn ( ) ;
15
12
// const mockInitFrames = jest.fn(() => Promise.resolve({ frames: [], scenes: [], theme: {} }));
16
13
// const mockRenderFrames = jest.fn(() => Promise.resolve('framePattern'));
You can’t perform that action at this time.
0 commit comments