mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
* BUGFIX: Fix calculateExp so that it won't return a too small result Due to floating point rounding issues, when applying the inverse operation and flooring, roughly half the time we would get the next lower skill level. This quickly finds a slightly higher result that gives the correct inverse. * clearer test layout
Unit Tests
This directory contains unit tests for Bitburner.
Unit tests use jest.
Running
Run tests with: npm run test
To watch for changes: npm run test:watch