Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Fix typo in compatibility snippet #81

Merged
merged 2 commits into from
Apr 26, 2017

Conversation

DanielMSchmidt
Copy link
Contributor

Hi there,

Thanks for this great project, I am excited to use it. I have found a little typo I wanted to fix real quick 馃憤

Thanks for your patience!

@coveralls
Copy link

coveralls commented Apr 26, 2017

Coverage Status

Coverage remained the same at 87.317% when pulling 8ab7da9 on DanielMSchmidt:patch-1 into 131d8a2 on opentracing:master.

@coveralls
Copy link

coveralls commented Apr 26, 2017

Coverage Status

Coverage remained the same at 87.317% when pulling 741574b on DanielMSchmidt:patch-1 into 131d8a2 on opentracing:master.

const apiCompatibilityChecks = require('opentracing/lib/test/api_compatibility.js');
apiCompatibilityCheck(() => new CustomTracer());
const { apiCompatibilityChecks } = require('opentracing/lib/test/api_compatibility.js');
apiCompatibilityChecks(() => new CustomTracer());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to #78, this is also missing .default after require(), could you add it? Then I can merge.

Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may do both, as it both an named and a default export. Shall I still change it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People claim it does not work without .default in some later versions (of Babel?). I am not an expert in JS ecosystem. I will merge as is, you may want to reply to that other ticket.

@yurishkuro yurishkuro merged commit d7c443c into opentracing:master Apr 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants