question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update API compatibility testing documentation

See original GitHub issue

The current documentation says to use this snippet to run API compatibility tests:

const apiCompatibilityChecks = require('opentracing/test/api_compatibility.js');
apiCompatibilityCheck(() => new CustomTracer());

However, since version 0.14, it should be instead:

const apiCompatibilityChecks = require('opentracing/lib/test/api_compatibility.js').default;
apiCompatibilityCheck(() => new CustomTracer());

See: https://github.com/opentracing/opentracing-javascript#api-compatibility-testing

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
rochdevcommented, Apr 24, 2017

I don’t see any problems with requiring .default as long as it’s documented.

0reactions
pavolloffaycommented, Oct 30, 2017

closing per #85

Read more comments on GitHub >

github_iconTop Results From Across the Web

REST API Testing Strategy: What Exactly Should You Test?
Usability Tests​​ For public APIs: a manual “Product”-level test going through the entire developer journey from documentation, login, authentication, code ...
Read more >
What is Compatibility Testing? Forward & Backward Example
Compatibility testing is to check whether your software is capable of running on different hardware, operating systems, ...
Read more >
API Testing Tips | How To Test APIs - Katalon
What is API testing? How should you test APIs? Here are the 10 basic tips that you need to know for API testing....
Read more >
Compatibility | Cloud APIs
This page provides more detailed explanations for the list of breaking and non-breaking changes given in the Versioning section.
Read more >
API And Browser Compatibility - LambdaTest
API browser compatibility refers to the support of different browser for different APIs. With every upgrade in a browser there are various ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found