Jesper
|
38c8cae574
|
rename variable
|
2022-04-13 18:37:11 +02:00 |
|
Jesper
|
607f7b87af
|
Use Readonly
|
2022-04-13 18:36:47 +02:00 |
|
Jesper
|
b62e86157f
|
Feat: Conjured items degrade twice as quickly in quality
|
2022-04-13 18:33:36 +02:00 |
|
Jesper
|
2b3d1ed7dc
|
Failing unit test for conjured items
|
2022-04-13 17:58:44 +02:00 |
|
Jesper
|
6247d5be4e
|
Formatting
|
2022-04-13 17:43:05 +02:00 |
|
Jesper
|
18a7012aa7
|
Clarify comment
|
2022-04-13 17:42:06 +02:00 |
|
Jesper
|
5080a0ba94
|
Formatting
|
2022-04-13 17:41:39 +02:00 |
|
Jesper
|
3f2fb9d506
|
Ensure immutability outside of class with Readonly
|
2022-04-13 17:41:07 +02:00 |
|
Jesper
|
4dffac3dcf
|
Clarify conditional
|
2022-04-13 17:35:46 +02:00 |
|
Jesper
|
1fdb4e6f50
|
Use guard
|
2022-04-13 17:35:00 +02:00 |
|
Jesper
|
258877c3e9
|
Clean
|
2022-04-13 17:32:46 +02:00 |
|
Jesper
|
da0a6379dd
|
Ifs -> switch
|
2022-04-13 17:32:14 +02:00 |
|
Jesper
|
ad10e04856
|
New names
|
2022-04-13 17:28:42 +02:00 |
|
Jesper
|
564c39defb
|
More consistent syntax
|
2022-04-13 17:24:14 +02:00 |
|
Jesper
|
b45e9b7cf2
|
extract updateItems
|
2022-04-13 17:23:30 +02:00 |
|
Jesper
|
796f5e7764
|
Simplify map chain
|
2022-04-13 17:22:06 +02:00 |
|
Jesper
|
36552ffe54
|
Chain maps
|
2022-04-13 17:21:45 +02:00 |
|
Jesper
|
68df2fec5a
|
forEach -> map
|
2022-04-13 17:21:29 +02:00 |
|
Jesper
|
93cfbd0109
|
Split loops
|
2022-04-13 17:19:58 +02:00 |
|
Jesper
|
20ccdb2aa5
|
Consistent naming
|
2022-04-13 17:19:16 +02:00 |
|
Jesper
|
8cbae0fd1b
|
Lift side effects
|
2022-04-13 17:18:49 +02:00 |
|
Jesper
|
88982514b1
|
Use guard
|
2022-04-13 17:17:54 +02:00 |
|
Jesper
|
03379118c6
|
Extract updateSellIn
|
2022-04-13 17:17:34 +02:00 |
|
Jesper
|
ea88b3db9c
|
Use guard
|
2022-04-13 17:16:17 +02:00 |
|
Jesper
|
0dc2301898
|
Extract decrementQuality
|
2022-04-13 17:15:25 +02:00 |
|
Jesper
|
626b3cb04f
|
Destructure and simplify syntax
|
2022-04-13 17:14:31 +02:00 |
|
Jesper
|
ed7bfb312a
|
Finish liftin side effects
|
2022-04-13 17:10:08 +02:00 |
|
Jesper
|
651c14a38b
|
Continue lifting side effects
|
2022-04-13 17:06:06 +02:00 |
|
Jesper
|
6e34829ee8
|
Continue lifting side effects
|
2022-04-13 17:03:57 +02:00 |
|
Jesper
|
ca3ea3dcc4
|
Start lifting side effects
|
2022-04-13 17:02:27 +02:00 |
|
Jesper
|
426d9ecd03
|
Extract update item quality
|
2022-04-13 16:59:43 +02:00 |
|
Jesper
|
a06e221197
|
Flatten conditionals
|
2022-04-13 16:57:38 +02:00 |
|
Jesper
|
b0c4797e66
|
inline method
|
2022-04-13 16:55:31 +02:00 |
|
Jesper
|
2fd34247dd
|
Extract brieOrBackstageQuality
|
2022-04-13 16:41:43 +02:00 |
|
Jesper
|
7c81b6d242
|
Invert agedbrie and backstage conditional
|
2022-04-13 16:39:01 +02:00 |
|
Jesper
|
481a303bae
|
Move sellInBelow0 out of class
|
2022-04-13 16:37:02 +02:00 |
|
Jesper
|
e667c5d091
|
Destructure item
|
2022-04-13 16:36:36 +02:00 |
|
Jesper
|
e21ec0cc5b
|
Use guard in sellInBelow0
|
2022-04-13 16:35:45 +02:00 |
|
Jesper
|
138ad0daab
|
Move conditional into sellInBelow0
|
2022-04-13 16:35:03 +02:00 |
|
Jesper
|
2bf8dbde29
|
Lift side-effects
|
2022-04-13 16:33:49 +02:00 |
|
Jesper
|
87617c7f25
|
Simply expressions
|
2022-04-13 16:32:21 +02:00 |
|
Jesper
|
2cd5a72201
|
Flatten conditionals in sellInBelow0
|
2022-04-13 16:31:16 +02:00 |
|
Jesper
|
e734b35f3a
|
Extract sellInBelow0
|
2022-04-13 16:27:20 +02:00 |
|
Jesper
|
ab6be24de4
|
Replace loop with .forEach
|
2022-04-13 16:25:18 +02:00 |
|
Salva Pérez
|
cc3b5708e1
|
Readme updated
|
2022-02-10 10:13:36 +01:00 |
|
Salva Pérez
|
fdd6f6b4cb
|
Fixed run app. Parametrized days simulation.
|
2022-02-10 10:13:30 +01:00 |
|
Anthony Rey
|
b0f4a15245
|
Add Jest to TypeScript (and update dependencies)
|
2021-11-09 18:41:26 +01:00 |
|
Samuel Ytterbrink
|
70a9e74f68
|
Update typescript dependencies and the mocharc file
|
2021-01-28 12:21:03 +01:00 |
|
archive-sebastian
|
84f92fe5d7
|
excluded none spec files from test runner
|
2018-12-10 13:01:57 +01:00 |
|
archive-sebastian
|
c9f4838a09
|
fixed file name typo
|
2018-12-10 13:01:56 +01:00 |
|