Browse Source

fix: fixed build issue

Torkel Ödegaard 8 years ago
parent
commit
561561d8fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/stores/ViewStore/ViewStore.jest.ts

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

@@ -20,7 +20,7 @@ describe('ViewStore', () => {
 
   it('Query can contain arrays', () => {
     store.updatePathAndQuery('/hello', { values: ['A', 'B'] });
-    expect(store.query.get('values').toJS()).toMatchObject(['A', 'B']);
+    expect(toJS(store.query.get('values'))).toMatchObject(['A', 'B']);
     expect(store.currentUrl).toBe('/hello?values=A&values=B');
   });
 });