Browse Source

fix broken test

Erik Sundell 7 years ago
parent
commit
23996b364e

+ 1 - 1
public/app/plugins/datasource/stackdriver/components/Aggregations.test.tsx

@@ -48,7 +48,7 @@ describe('Aggregations', () => {
       });
       it('', () => {
         const options = wrapper.state().aggOptions[0].options;
-        expect(options.length).toEqual(1);
+        expect(options.length).toEqual(5);
         expect(options.map(o => o.value)).toEqual(expect.arrayContaining(['REDUCE_NONE']));
       });
     });