Skip to content

Commit 2194be7

Browse files
committed
feat: dependency updates
1 parent fccb68d commit 2194be7

20 files changed

+33439
-11931
lines changed

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ import {
119119
simulate,
120120
} from "@cubedelement.com/realty-investor-timeline";
121121

122+
/**
123+
* Callout!
124+
* This example shows you all the options available, and most are defaulted if you don't supply the options object.
125+
* This only one that isn't supplied is the generatorOptionsPassiveApartment values.
126+
*/
122127
const options: ISimulateOptions = {
123128
amountInSavings: 100000,
124129
monthlyIncomeAmountGoal: 10000,
@@ -132,7 +137,7 @@ const options: ISimulateOptions = {
132137
],
133138
purchaseRules: [
134139
{
135-
value: 30000,
140+
value: 50000,
136141
type: PurchaseRuleTypes.MaxEstimatedOutOfPocket,
137142
propertyType: PropertyType.SingleFamily,
138143
},
@@ -164,27 +169,27 @@ const options: ISimulateOptions = {
164169
propertyType: PropertyType.SingleFamily,
165170
},
166171
],
167-
maxYears: 1,
172+
maxYears: 7,
168173
generatorOptionsSingleFamily: {
169-
highestMinSellInYears: 1,
170174
lowestMinSellInYears: 1,
171-
highestPricePrice: 200000,
172-
lowestPricePrice: 150000,
173-
highestSellAppreciationPercent: 7,
175+
highestMinSellInYears: 1,
176+
lowestPurchasePrice: 150000,
177+
highestPurchasePrice: 250000,
174178
lowestSellAppreciationPercent: 5,
179+
highestSellAppreciationPercent: 7,
175180
lowestCashFlow: 200,
176-
highestCashFlow: 500,
181+
highestCashFlow: 550,
177182
lowestEquityCapturePercent: 7,
178183
highestEquityCapturePercent: 15,
179184
maxRentalOpportunities: 4,
180185
},
181186
generatorOptionsPassiveApartment: {
182-
highestMinSellInYears: 1,
183187
lowestMinSellInYears: 1,
184-
highestPricePrice: 200000,
185-
lowestPricePrice: 150000,
186-
highestSellAppreciationPercent: 7,
188+
highestMinSellInYears: 1,
189+
lowestPurchasePrice: 150000,
190+
highestPurchasePrice: 200000,
187191
lowestSellAppreciationPercent: 5,
192+
highestSellAppreciationPercent: 7,
188193
lowestCashFlow: 200,
189194
highestCashFlow: 500,
190195
lowestEquityCapturePercent: 7,

jest.benchmark.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ delete uConfig.testMatch;
1313

1414
export default {
1515
...uConfig,
16+
maxWorkers: 1,
1617
verbose: false,
1718
testMatch: ['<rootDir>/tests_bench/*.+(spec|test).[jt]s?(x)'],
1819
};

0 commit comments

Comments
 (0)