Skip to content

Commit a2809af

Browse files
committed
chore: fix tests
1 parent 1849053 commit a2809af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/__test__/store/updateOs.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('UpdateOs Store', () => {
5858
describe('State and Getters', () => {
5959
it('should initialize with correct default values', () => {
6060
expect(store.checkForUpdatesLoading).toBe(false);
61-
expect(store.modalOpen).toBe(false);
61+
expect(store.updateOsModalVisible).toBe(false);
6262
});
6363

6464
it('should have computed properties with the right types', () => {
@@ -86,15 +86,15 @@ describe('UpdateOs Store', () => {
8686
await store.localCheckForUpdate();
8787

8888
expect(WebguiCheckForUpdate).toHaveBeenCalled();
89-
expect(store.modalOpen).toBe(true);
89+
expect(store.updateOsModalVisible).toBe(true);
9090
});
9191

9292
it('should set modal open state', () => {
9393
store.setModalOpen(true);
94-
expect(store.modalOpen).toBe(true);
94+
expect(store.updateOsModalVisible).toBe(true);
9595

9696
store.setModalOpen(false);
97-
expect(store.modalOpen).toBe(false);
97+
expect(store.updateOsModalVisible).toBe(false);
9898
});
9999

100100
it('should handle errors when checking for updates', async () => {

0 commit comments

Comments
 (0)