/clear-globals

Reset any overridden native methods back to normal (for testing)

Primary LanguageJavaScriptMIT LicenseMIT

clear-globals

CircleCI Codecov

Note
Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.

Reset any overridden native methods back to normal (for testing)

Installation

$ npm install @segment/clear-globals

API

clearGlobals()