mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix memory leak in unit tests (#5597)
This commit is contained in:
1 parent
2eb585e88e
commit
3058bea88f
37 files changed
+1502
-1777
No files matched your search
+1
-1
@@ -4518,7 +4518,7 @@ exports[`add custom helm repository in preferences when navigating to preference
|
||||
class="flex gaps align-center"
|
||||
>
|
||||
<div
|
||||
class="Input box grow invalid dirty validating validatingLine"
|
||||
class="Input box grow dirty"
|
||||
>
|
||||
<label
|
||||
class="input-area flex gaps align-center"
|
||||
|
||||
@@ -444,8 +444,14 @@ exports[`helm-charts - navigation to Helm charts when navigating to Helm charts
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="Spinner singleColor center"
|
||||
/>
|
||||
class="NoItems flex box grow"
|
||||
>
|
||||
<div
|
||||
class="box center"
|
||||
>
|
||||
Item list is empty
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="AddRemoveButtons flex gaps"
|
||||
|
||||
@@ -34,7 +34,7 @@ describe("add custom helm repository in preferences", () => {
|
||||
let getActiveHelmRepositoriesMock: AsyncFnMock<() => AsyncResult<HelmRepo[]>>;
|
||||
|
||||
beforeEach(async () => {
|
||||
jest.useFakeTimers("modern");
|
||||
jest.useFakeTimers();
|
||||
|
||||
applicationBuilder = getApplicationBuilder();
|
||||
|
||||
|
||||
Reference in new issue
Block a user