Sha256: 46e02946991d3eb1e483ded72b780a7c1fa1605e244851e3c759693934f6e15c
Contents?: true
Size: 543 Bytes
Versions: 26
Compression:
Stored size: 543 Bytes
Contents
import { invariant } from "outvariant"; import { devUtils } from './devUtils.mjs'; function checkGlobals() { invariant( typeof URL !== "undefined", devUtils.formatMessage( `Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".` ) ); } export { checkGlobals }; //# sourceMappingURL=checkGlobals.mjs.map
Version data entries
26 entries across 26 versions & 1 rubygems