Skip to content

Commit

Permalink
clear cache on failure to load saved object
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Nov 19, 2020
1 parent 0d23f66 commit 754f150
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,6 @@ describe('IndexPatterns', () => {
const id = '1';

// failed request!
/*
try {
await indexPatterns.get(id);
} catch (e) {
expect(e).toBeDefined();
}
*/
expect(indexPatterns.get(id)).rejects.toBeDefined();

// successful subsequent request
Expand Down

0 comments on commit 754f150

Please sign in to comment.