xenticore
91f43295e8
test: fix unit tests for WebExtension build
2025-05-01 18:31:58 -04:00
xenticore
19fe1c70a4
oops
2025-04-30 19:11:21 -04:00
xenticore
39ad61b768
fix: mock data not using correct date format
2025-04-30 18:32:02 -04:00
xenticore
5e5846abde
refactor: rewrite async promises as chain
2025-04-30 18:31:33 -04:00
xenticore
e6eceed568
test: add exchange rate service tests
2025-04-16 20:22:51 -04:00
xenticore
dcf45c2740
refactor: split currency and key/metal formatting into separate units
...
this simplifies functions and tests, and will make currency optional/variable later
2025-04-16 14:04:39 -04:00
xenticore
9a8ce24313
test: add botkiller detection tests
2025-04-07 15:40:44 -04:00
xenticore
fa7276a53c
feat: add support for festive weapon variants
...
on schema update, festive variants are linked. on content injection, if if finds a festive variant, it adds price rows for Festive and Strange Festive.
2025-04-02 18:54:39 -04:00
xenticore
be6206194b
fix: price data update time serialization
...
price update time was not properly serialized as a number like the schema was, and led to dates being stored as empty objects. UI code also did not check if date was NaN, and rendered "invalid date" instead.
2025-03-29 14:19:38 -04:00
xenticore
f8ca4148f0
feat: schema now retrieves slot, australium status, killstreak status
2025-03-28 23:40:47 -04:00
xenticore
77a831b89e
refactor: fetchPrice now expects an SKU string
2025-03-28 23:35:39 -04:00
xenticore
d1c5083425
refactor: priceUsingPricesTF now expects an SKU string
2025-03-28 23:31:59 -04:00
xenticore
967a32fc83
fix: prioritize non-stock/non-decorated items
...
Changed schema lookups to prioritize non-stock/non-decorated item defindexes when names collide
Modified unit tests to include example (stock Flame Thrower)
2025-03-27 15:32:45 -04:00
xenticore
7c7e58d0d2
refactor: move extractPageTitleFromURL to module, add tests
2025-03-27 14:51:13 -04:00
xenticore
335e45096f
test: add price service and prices.tf tests
2025-03-27 14:03:54 -04:00
xenticore
f6e92facbc
test: add item schema tests
2025-03-27 12:11:30 -04:00
xenticore
349ceacb4d
test: clean up calc comment
2025-03-24 19:45:33 -04:00
xenticore
60f90d6a37
test: add price formatting tests
2025-03-24 19:38:14 -04:00
xenticore
3f51277bd5
test: remove unnecessary comments
2025-03-24 19:38:05 -04:00
xenticore
1425b33e97
test: add localization tests
2025-03-24 16:13:38 -04:00