jellyfin-web/dashboard-ui/bower_components/prism/tests/run-child.js

17 lines
343 B
JavaScript
Raw Normal View History

2016-02-03 16:00:01 -07:00
"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});
}
}
});
}