bitburner-src/test/jest
Snarling b275f88053
NETSCRIPT: Expose more enums for player use (#198)
* Add support for enums at other ns layers
* APIWrapper: simplified wrapping algorithm and modified to just use cloneDeep to copy enums instead of recursively wrapping enums as if they were new API layers
* Improve APIWrapper typing
* Changed some typings at RamCostGenerator to allow for enums at different levels without enums needing a ram cost
* Added enums to ns.corporation, removed getter functions that were being used instead.
* Add FactionWorkType for player use
* Add ClassType and CompanyWorkPos enums
* Change netscriptDefinitions to expect members of these new enums where appropriate.
2022-11-09 13:46:21 -05:00
..
Netscript NETSCRIPT: Expose more enums for player use (#198) 2022-11-09 13:46:21 -05:00
Script initial test fix attempt 2022-10-01 15:03:47 -04:00
Terminal format and lint 2022-10-01 15:15:36 -04:00
ui attempt2 2022-10-01 15:28:48 -04:00
README.md Move cypress & netscript tests to ./test subfolder 2022-01-26 05:35:21 -05:00
StockMarket.test.ts Commit1 2022-10-03 12:12:16 -04:00
StringHelperFunctions.test.ts fix: fix StringHelperFunctions test 2022-09-23 18:13:33 -04:00

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