viewstore: fix test after merge

This commit is contained in:
Daniel Lee 2018-01-31 16:49:41 +01:00
parent a9e2273064
commit a5197046e8

View File

@ -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');
});