Sebastian Malton
|
7b8e97ba08
|
Remove duplication of code in RunManyFor
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-14 09:05:06 -05:00 |
|
Sebastian Malton
|
bbb610ec69
|
Add global override for randomBytes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-12 16:15:28 -05:00 |
|
Sebastian Malton
|
26b10b8738
|
Merge remote-tracking branch 'origin/master' into make-BaseStore-non-singlton
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-12 15:59:18 -05:00 |
|
Jari Kolehmainen
|
4ac47fa795
|
Unify build fs layout (#6717)
* unify build fs layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use currentApp path for static files
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* absolute override path for tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
|
2022-12-12 11:23:45 -05:00 |
|
Sebastian Malton
|
aec860af33
|
Fix BaseStore sync
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-09 15:10:54 -05:00 |
|
Sebastian Malton
|
c429509a5b
|
Fix behaviour regression
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-09 14:51:35 -05:00 |
|
Sebastian Malton
|
29a35ab71c
|
Add tests to verify runMany behaviour in new possible incorrect configuration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-09 10:50:33 -05:00 |
|
Sebastian Malton
|
dcd82ad53c
|
Fix crash
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 18:01:39 -05:00 |
|
Sebastian Malton
|
2217b681e9
|
Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 17:52:52 -05:00 |
|
Sebastian Malton
|
f95ed19a7d
|
Fix test flakiness by removing side effects from userStore preferences
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 17:14:30 -05:00 |
|
Sebastian Malton
|
62cc4efae0
|
Fix user store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
c23d3e349b
|
Fix cluster store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
e414fbace5
|
Fix hotbar store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
6e7655ba03
|
Fix import
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
8de3e75191
|
Fix sidebar-and-tab-navigation-tests
- Move enabling extensions in tests to a proper location
- Fix flushing promises
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
ca49e585e7
|
Fix HotbarStore.load being called twice is being buggy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
618d0d83b5
|
Update and fix WriteJson(Sync) to fix error in tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:01 -05:00 |
|
Sebastian Malton
|
26af59ad64
|
Fix override file name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
ff54c042b6
|
Complete cherry-pick of current cluster injcetablization
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
963651ef4b
|
Make LensTheme fully injectable and runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
f7b5ae7b57
|
Make cluster state sync fully injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
d585b0957c
|
Convert contextMenuOpen initializers into runnables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
0cad3e7bae
|
Move initializing CatalogCategories to runnable in bootstrap
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
01d3914b5a
|
Fully injectable-ize BaseStore so that ApplicationBuilder tests work
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
4875f24af3
|
Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
36063d86af
|
Add stat to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
69cfe9a25e
|
Add createReadStream to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:19:00 -05:00 |
|
Sebastian Malton
|
06f4802748
|
Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
8409d56fdf
|
Add ensureDir/Sync support to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
af48b7de5f
|
Handle copy as part of fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
f7c3657e60
|
Add fake access support
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
906172bc29
|
Remove use of global shared Electron.App
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
8d55a3a08d
|
Overhaul FS fakes with full in-memory filesystem
- This increases our confidence in fs related logic
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
6cc89bf154
|
Remove overrides for configuration stores
- Now that there is an override for getConfiguration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
bea52f9f80
|
Add global override for getConfigurationFileModel to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
59657fcea4
|
Fix user store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
c4a8604b25
|
Fix hotbar store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
bbf6ec38bf
|
Fix runManyFor tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
9dbc6bc293
|
Fix base store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
570d252950
|
Add global override to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
4feff54796
|
Remove traces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
5b80dfc70a
|
Add support for multiple "runAfter" runnables
- Needed so that several dependencies can be declared
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
f9084bc2b7
|
Remove unneeded appPathsInjectionToken
- Only had once impl, which was in common anyway
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
8217ad4ba8
|
More consistent use of BaseStore.displayName
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
bd47377dd1
|
Remove usage of legacy global .getInstance
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
303a397209
|
Remove tests that reference lastSeenVersion
- That value is not used anywhere in code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
a4ae7c0b41
|
Fix type error in base-store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
846236452c
|
Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
a55cd67d6c
|
Switch WeblinkStore to injectable migrations
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|
Sebastian Malton
|
6620bb5340
|
Move migration utils into common/utils/
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-12-06 09:18:59 -05:00 |
|