opentracing / opentracing-javascript

OpenTracing API for Javascript (both Node and browser). 🛑 This library is DEPRECATED! https://github.com/opentracing/specification/issues/163
http://opentracing.io
Apache License 2.0
1.09k stars 108 forks source link

Allow Access To Mock Tracer Via Opentracing Import #89

Closed jhorowitz closed 6 years ago

jhorowitz commented 6 years ago

Mock tracer could be incredibly useful for unit tests. I saw a TODO for moving it to its own NPM package but I think it'd be more useful if exposed here. If you think it's a good idea, I'd be happy to make a PR and take ownership of its maintenance.

What are your thoughts?

yurishkuro commented 6 years ago

What do you mean by "Via Opentracing Import"? Isn't it already usable?

jhorowitz commented 6 years ago

I mean adding it as an export to https://github.com/opentracing/opentracing-javascript/blob/master/src/index.ts

yurishkuro commented 6 years ago

+1

yurishkuro commented 6 years ago

fixed by #98