Move tests to root

This commit is contained in:
Jerome Wu
2022-09-26 12:18:01 +08:00
parent c38ab7551b
commit 2f18a2d806
18 changed files with 1337 additions and 360 deletions

11
tests/test-helper-mt.js Normal file
View File

@@ -0,0 +1,11 @@
const chai = require("chai");
const constants = require("./constants");
global.expect = chai.expect;
global.createFFmpeg = require("../packages/ffmpeg-mt");
global.atob = require("./util").atob;
global.FFMPEG_TYPE = "mt";
Object.keys(constants).forEach((key) => {
global[key] = constants[key];
});