Ver código fonte

viewstore: fix test after merge

Daniel Lee 8 anos atrás
pai
commit
a5197046e8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      public/app/stores/ViewStore/ViewStore.jest.ts

+ 1 - 1
public/app/stores/ViewStore/ViewStore.jest.ts

@@ -26,7 +26,7 @@ describe('ViewStore', () => {
   });
 
   it('Query can contain boolean', () => {
-    store.updatePathAndQuery('/hello', { abool: true });
+    store.updatePathAndQuery('/hello', { abool: true }, { abool: true });
     expect(toJS(store.query.get('abool'))).toBe(true);
     expect(store.currentUrl).toBe('/hello?abool');
   });