Closed eli-jordan closed 6 years ago
Could you also fix the tests? E.g. here the import should from the index, not from ../tracer
, to ensure that these imports are not missed.
https://github.com/opentracing/opentracing-javascript/blob/master/src/test/opentracing_api.ts#L5
@yurishkuro Done. I also updated mock_tracer._startSpan(...)
to use the SpanOptions
type
Fixes https://github.com/opentracing/opentracing-javascript/issues/93
The
SpanOptions
type is not exported from the module. This change simply adds an export to theindex.ts
file