Configured unit test webpack build to work

This commit is contained in:
danielyxie
2019-05-09 19:36:04 -07:00
parent ece246b391
commit 74e72854d8
13 changed files with 247158 additions and 760 deletions

View File

@@ -1,6 +1,6 @@
import { CONSTANTS } from "../src/Constants";
import { Order } from "../src/StockMarket/Order";
// import { processOrders } from "../src/StockMarket/OrderProcessing";
import { processOrders } from "../src/StockMarket/OrderProcessing";
import { Stock } from "../src/StockMarket/Stock";
import {
deleteStockMarket,
@@ -157,8 +157,6 @@ describe("Stock Market Tests", function() {
});
});
/*
// TODO These tests fail due to circular dependency errors
describe("StockMarket object", function() {
describe("Initialization", function() {
// Keeps track of initialized stocks. Contains their symbols
@@ -219,7 +217,6 @@ describe("Stock Market Tests", function() {
});
});
*/
describe("Transaction Cost Calculator Functions", function() {
describe("getBuyTransactionCost()", function() {