UNPKG

1.02 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3// Ensure the stack trace lines numbers are correct on errors
4require('source-map-support').install();
5var api_compatibility_1 = require("./api_compatibility");
6var mocktracer_implemenation_1 = require("./mocktracer_implemenation");
7var noop_implementation_1 = require("./noop_implementation");
8var opentracing_api_1 = require("./opentracing_api");
9var index_js_1 = require("../index.js");
10mocktracer_implemenation_1.default();
11api_compatibility_1.default(function () { return new index_js_1.MockTracer(); }, { skipInjectExtractChecks: true, skipBaggageChecks: true });
12// Run the tests on the default OpenTracing no-op Tracer.
13noop_implementation_1.default();
14// Run the api conformance tests on the default Opentracing no-op Tracer.
15api_compatibility_1.default(function () { return new index_js_1.Tracer(); }, { skipBaggageChecks: true });
16// Basic unittests for opentracing
17opentracing_api_1.default();
18//# sourceMappingURL=unittest.js.map
\No newline at end of file