Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit e41f2be

Browse files
committed
fixed tests
1 parent 54a6bd6 commit e41f2be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/tests/unit/runtime/subscription/sub.controller.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('SubController Tests', () => {
4242
let dummySubscriptionContainer: SubscriptionContainer;
4343

4444
beforeEach(() => {
45-
dummyAgile.config.waitForMount = 'dummyWaitForMount' as any;
4645
dummySubscriptionContainer = new SubscriptionContainer();
4746
dummyObserver1.value = 'myCoolValue';
4847

@@ -112,7 +111,6 @@ describe('SubController Tests', () => {
112111
let dummySubscriptionContainer: SubscriptionContainer;
113112

114113
beforeEach(() => {
115-
dummyAgile.config.waitForMount = 'dummyWaitForMount' as any;
116114
dummySubscriptionContainer = new SubscriptionContainer();
117115

118116
subController.registerSubscription = jest.fn(
@@ -275,6 +273,7 @@ describe('SubController Tests', () => {
275273

276274
beforeEach(() => {
277275
dummySubscriptionContainer = new SubscriptionContainer();
276+
dummyAgile.config.waitForMount = 'dummyWaitForMount' as any;
278277

279278
subController.registerCallbackSubscription = jest.fn(
280279
() => dummySubscriptionContainer as CallbackSubscriptionContainer

0 commit comments

Comments
 (0)