Dev
0abfe0699e
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
2023-11-06 14:52:14 +00:00
TheSparta
a244e89abe
Skip mods that are duplicated ( !165 )
...
- Instead of loading duplicated mods, it now skips all of them.
- Changed a few localisation strings, deleted the ones that became outdated.
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/165
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
2023-11-06 14:51:31 +00:00
Dev
1cccb0445a
Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into testing-redux
2023-11-06 13:19:15 +00:00
Dev
6de32bad6a
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
2023-11-06 13:18:56 +00:00
Dev
2040835566
Set halloween event as disabled by default + enable for halloween
2023-11-06 13:18:38 +00:00
Dev
77c6bd8b62
Update JSONs
2023-11-06 13:12:12 +00:00
Dev
b61cc6add0
27001
2023-11-06 12:57:27 +00:00
Dev
4bce4b49f4
Change server logging to be grouped by day instead of per hour
2023-11-06 12:44:59 +00:00
Dev
7daaf53dff
Add transition stage for PMCs gear from level 15-22 to make the changes from no flea gear to all flea gear less abrupt
...
Add missing equipment items to bear/usec PMCs
2023-11-06 11:36:36 +00:00
Dev
6ba0cfa459
Fix inverted check
2023-11-06 09:24:13 +00:00
Dev
32b356d3f1
Fix isbotPmc
isBotBoss
and isBotFollower
failing when undefined values are passed in
2023-11-05 20:29:10 +00:00
Dev
5656384c8f
Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into testing-redux
2023-11-05 20:25:15 +00:00
Dev
d3b7e5ef7a
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
2023-11-05 20:24:28 +00:00
Dev
54223f3848
Add botController test
2023-11-05 20:11:52 +00:00
TheSparta
de83dee158
Fixed vscode launch configuration for vitest
2023-11-05 19:40:15 +00:00
TheSparta
1f0318e66d
Create container once before all tests
...
- Doesn't recreate the container for each test file, only loads the database once at the start, makes it much faster.
- Every test file should be imported in `Setup.test.ts` in order for it to work.
2023-11-05 16:59:54 +00:00
Dev
6f11e3de34
Add ItemBaseClassService
tests
2023-11-05 16:44:08 +00:00
Dev
df6a08367b
Remove reduandant else from getRepairableItemQualityValue()
2023-11-05 13:19:10 +00:00
Dev
c527824d60
Change getRepairableItemQualityValue()
to handle max durability being lower than durability
2023-11-05 13:16:59 +00:00
Dev
c12819ce33
Check for correct return type
2023-11-05 12:40:50 +00:00
Dev
7e409735d1
Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into testing-redux
2023-11-05 12:39:38 +00:00
Dev
c7dfc5b9cf
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
2023-11-05 12:39:20 +00:00
Dev
8f70b03284
Fix hasBuyRestrictions erroring on bad input data
...
Fix isItemTplStackable erroring on bad input data
2023-11-05 12:37:17 +00:00
Dev
84f3f0e3d5
Add additional pmc response
2023-11-05 12:21:44 +00:00
Dev
d1614b19a6
Add tests for InRaidHelper
2023-11-05 10:49:20 +00:00
Dev
d4f2139236
Add additional tests to ItemHelper.test
2023-11-05 10:19:00 +00:00
Dev
ed20707935
Add tests for BotLevelGenerator
2023-11-05 09:20:11 +00:00
Refringe
98a35f4b47
Merge branch '3.8.0' into testing-redux
2023-11-04 21:12:49 -04:00
TheSparta
0fff6afc8c
switched coverage provider from v8
to istanbul
2023-11-04 21:07:44 +00:00
Dev
8ee176b9d8
Handle when fillCamora()
cannot find camora slots in weapons modPool
2023-11-04 20:11:09 +00:00
Dev
69b32fabdf
Add HandbookHelper tests
2023-11-04 19:42:07 +00:00
TheSparta
71b5ce7512
fixed __coverage__
folder location
2023-11-04 18:37:16 +00:00
Dev
8f21ee2ef3
Allow coverage to show correct files in src folder
2023-11-04 18:31:37 +00:00
TheSparta
a865709535
added --coverage to test:ui script
2023-11-04 17:09:14 +00:00
TheSparta
9638288381
Fix level calcualtion function
2023-11-04 17:01:24 +00:00
TheSparta
1b737189b7
Added coverage reportOnFailure and removed enabled by default
2023-11-04 14:54:17 +00:00
TheSparta
1b930afa2f
Added tests/__coverage__ to gitignore
2023-11-04 14:53:48 +00:00
TheSparta
45dad54e3e
Fixed PlayerService.calculateLevel
2023-11-04 14:53:08 +00:00
Dev
6ca19150bc
Add BotHelper
tests
2023-11-04 13:34:09 +00:00
Dev
85b815f32e
Add tests for PlayerServer.calculateLevel()
2023-11-04 11:43:04 +00:00
Dev
ebe7dc68c3
Add isInStash()
tests to PaymentService.tests
2023-11-04 11:22:07 +00:00
Dev
86c519b117
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
2023-11-04 10:50:13 +00:00
Dev
75958ee7d2
Replace hard coded blacklist in isValidItem()
with more appropriate call to ItemFilterService.isValidItem()
2023-11-04 10:49:52 +00:00
Dev
24894643de
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
2023-11-04 10:43:06 +00:00
Dev
ab01e42271
Call getDynamicItemPrice()
correctly inside getItemPrice()
2023-11-04 10:28:33 +00:00
Dev
b303849ad1
Add 3 test for getItemStackSize()
2023-11-04 10:21:56 +00:00
Dev
2f7f8a3f62
use correct base type id for test
2023-11-04 09:53:30 +00:00
Dev
432f778512
Make randomiseAmmoStackSize()
and randomiseMoneyStackSize()
not purge the entire upd object
...
Always randomise the ammo stack size, not only if it doesnt have one
2023-11-04 09:08:33 +00:00
Refringe
047884e9c7
Additional InsuranceController
Tests
...
- Adds tests for the remaining methods in the `InsuranceController`.
- Adds a `countAllInsuranceItems()` method to the `InsuranceController`.
- Adds the Vitest UI and coverage packages.
- Updates the `profileInsuranceFactory` to use second-epoch dates instead of millisecond-epoch dates.
- Updates the `InsuranceController.fetchHideoutItemParent()` method to log a warning when an item with a slotId of 'hideout' cannot be found.
TODO:
- The Vitest coverage options are not working.
2023-11-03 17:39:33 -04:00
Dev
93209e4a76
Add config option to force stock to spawn on a bot during weapon generation
...
Enable it for various bot types (most bosses/raiders)
2023-11-03 17:40:00 +00:00