fix test suite

This commit is contained in:
Olivier Gagnon
2022-07-21 02:13:47 -04:00
parent d01fd55bde
commit 43b8cfec5c
7 changed files with 71 additions and 71 deletions

View File

@@ -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