Skip to content

Commit

Permalink
feat: remove flaky test
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Oct 17, 2023
1 parent 0ba8df5 commit 743bf33
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -870,16 +870,4 @@ describe('getSortedObjectsForExport()', () => {
`Can't specify both "types" and "objects" properties when exporting`
);
});

test('rejects when bulkGet returns an error', () => {
const exportOpts = {
exportSizeLimit: 1,
savedObjectsClient,
objects: [{ type: 'index-pattern', id: '1' }],
};

expect(exportSavedObjectsToStream(exportOpts)).rejects.toThrowErrorMatchingInlineSnapshot(
`Can't specify both "types" and "objects" properties when exporting`
);
});
});

0 comments on commit 743bf33

Please sign in to comment.