mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
17 lines
343 B
JavaScript
17 lines
343 B
JavaScript
![]() |
"use strict";
|
||
|
|
||
|
var TestCase = require("./helper/test-case");
|
||
|
var argv = require("yargs").argv;
|
||
|
|
||
|
if (argv.language) {
|
||
|
process.on('message', function (data) {
|
||
|
if (data.filePath) {
|
||
|
try {
|
||
|
TestCase.runTestCase(argv.language, data.filePath);
|
||
|
process.send({success: true});
|
||
|
} catch (e) {
|
||
|
process.send({error: e});
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}
|