mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Port the unit tests from https://github.com/vercel/nft/tree/941be1cb3b9d38fbc99a8a6f07af568a64ed0f12/test/unit
10 lines
262 B
JavaScript
10 lines
262 B
JavaScript
const { execFile } = require('child_process')
|
|
const ffmpeg = require('ffmpeg-static')
|
|
|
|
execFile(ffmpeg, ['-version'], (error, _stdout, stderr) => {
|
|
if (error || stderr) {
|
|
console.error('Error executing ffmpeg:', error || stderr)
|
|
process.exit(1)
|
|
}
|
|
})
|