UNPKG

lightstep-tracer

Version:

> ❗ **This instrumentation is no longer recommended**. Please review [documentation on setting up and configuring the OpenTelemetry Node.js Launcher](https://github.com/lightstep/otel-launcher-node) or [OpenTelemetry JS (Browser)](https://github.com/open-

19 lines (16 loc) 639 B
var path = require("path"); var child_process = require("child_process"); describe("Command-line arguments", function() { it("--lightstep-debug=true", function (done) { var script = path.join(__dirname, "child_process/cmdline_args.js"); var reportFile = "cmdline_args.json"; var child = child_process.fork(script, [ reportFile, "--lightstep-debug=true", "--lightstep-verbosity=1", ]); child.on('close', function() { var reqs = util.requestsFromFile(reportFile); expect(reqs.spanRecordCount()).to.be.at.least(10); done(); }); }); });