mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
fix test suite
This commit is contained in:
@@ -457,13 +457,13 @@ describe("Stock Market Tests", function () {
|
||||
|
||||
it("should trigger a price update when it has enough cycles", function () {
|
||||
// Get the initial prices
|
||||
const initialValues: IMap<Stock> = {};
|
||||
const initialValues: IMap<any> = {};
|
||||
for (const stockName in StockMarket) {
|
||||
const stock = StockMarket[stockName];
|
||||
if (!(stock instanceof Stock)) {
|
||||
continue;
|
||||
}
|
||||
initialValues[stock.symbol] = stock;
|
||||
initialValues[stock.symbol] = { ...stock };
|
||||
}
|
||||
|
||||
// Don't know or care how many exact cycles are required
|
||||
|
||||
Reference in New Issue
Block a user