Skip to content

Commit 4cb9be7

Browse files
committed
fix(klesia): add emitImmidiatelly to specs
1 parent 54f1fed commit 4cb9be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/connect/src/store.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ it("should initialize the store", () => {
1111
it("should update providers", () => {
1212
const store = createStore();
1313
const listener = mock();
14-
store.subscribe(listener);
14+
store.subscribe(listener, { emitImmediately: true });
1515
announceProvider(mockedProvider);
1616
const provider = store.getProviders()[0];
1717
expect(listener).toHaveBeenCalled();

0 commit comments

Comments
 (0)