MikeMcl / bignumber.js

A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic
http://mikemcl.github.io/bignumber.js
MIT License
6.69k stars 742 forks source link

Error export when run tests #200

Closed totaki closed 6 years ago

totaki commented 6 years ago

React 15, default environment 2018-10-07 23-50-44

MikeMcl commented 6 years ago

The export var BigNumber = clone(); is from bignumber.mjs. Does Jest support modules?

This is an issue with Jest and its configuration. Perhaps try asking a question on stackoverflow.