diff --git a/README.md b/README.md index 126f283..9c360ea 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,17 @@ App = withOrientationChange(App) export { App } ``` +### Testing + +```js +import * as rdd from 'react-device-detect'; + +rdd.isMobile = true; + +// use in tests + +``` + ## License MIT