bitburner-src/test
Martin Fournier aae3851d59 Add webpack file-loader to handle images
It lets us bundle static files such as images.

Allows us to `imports img from "./img.png"` to retrieve an image's path.
Note that we'll have to add other entries in the global.d.ts file if we
want to handle other extensions than .png.

Adds mocks to Jest tests so that we don't fail tests when loading static
assets.
2022-01-20 18:41:48 -05:00
..
__mocks__ Add webpack file-loader to handle images 2022-01-20 18:41:48 -05:00
Netscript Add detailed ram cost to mem command 2022-01-05 16:41:48 -05:00
Script Add Test 2022-01-14 19:32:44 -08:00
Terminal change sf4 2022-01-04 19:09:34 -05:00
README.md prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
StockMarket.test.ts Fix remaining unit test issues 2021-12-19 15:42:40 -05:00
StringHelperFunctions.test.ts Fix remaining unit test issues 2021-12-19 15:42:40 -05: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