STOCKMARKET: Move and Reorganize Constants (#688)

This commit is contained in:
Caldwell
2023-08-01 04:12:49 +02:00
committed by GitHub
parent e9bbe57902
commit a85efbc4da
9 changed files with 49 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
import { CONSTANTS } from "../../src/Constants";
import { StockMarketConstants } from "../../src/StockMarket/data/Constants";
import { Player } from "../../src/Player";
import { Company } from "../../src/Company/Company";
@@ -42,7 +42,7 @@ jest.mock(`!!raw-loader!../NetscriptDefinitions.d.ts`, () => "", {
// }));
describe("Stock Market Tests", function () {
const commission = CONSTANTS.StockMarketCommission;
const commission = StockMarketConstants.StockMarketCommission;
// Generic Stock object that can be used by each test
let stock: Stock;