Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(err, compiledInfo) => {
if (err) {
return done(err);
}
registry = new Registry({
local: true,
discovery: true,
verbosity: 0,
path: path.join(__dirname, "../../acceptance-components"),
port: registryPort,
baseUrl: registryUrl,
env: { name: "local" },
hotReloading: false,
templates: [require("../../packages/oc-template-react")]
});
registry.start(err => {
if (err) {
return done(err);
}
testServer = server(serverPort, err => {