Files
087c3dd217 fix: add Jest/jsdom compatibility (#642)
Jest runs browser tests in a jsdom environment which now also supports
web crypto polyfills.

Since ESM support in Jest is currently still limited, it requires a
commonJS build for browser environments, see the discussion in
https://github.com/uuidjs/uuid/pull/616 for all the details.

Co-authored-by: Christoph Tavan <[email protected]>
Co-authored-by: Simen Bekkhus <[email protected]>
2022-08-03 11:45:27 +02:00

58 B

uuid example Node.js Jest

npm install
npm test