Commit 20285cf3 authored by Ryan Cobb's avatar Ryan Cobb

Prettier actions spec

parent 35b2cd44
......@@ -561,9 +561,9 @@ describe('Monitoring store actions', () => {
const expectedParams = {
start_time: '2019-08-06T12:40:02.184Z',
end_time: '2019-08-06T20:40:02.184Z',
step: 60
step: 60,
};
it('uses calculated step', done => {
mock.onGet('http://test').reply(200, { data }); // One attempt
......@@ -603,9 +603,9 @@ describe('Monitoring store actions', () => {
const expectedParams = {
start_time: '2019-08-06T12:40:02.184Z',
end_time: '2019-08-06T20:40:02.184Z',
step: 10
step: 10,
};
it('uses metric step', done => {
mock.onGet('http://test').reply(200, { data }); // One attempt
......@@ -634,8 +634,8 @@ describe('Monitoring store actions', () => {
done();
},
).catch(done.fail);
});
});
});
it('commits result, when waiting for results', done => {
// Mock multiple attempts while the cache is filling up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment