Skip to content

Commit 352adaf

Browse files
Update a test
1 parent e4d6755 commit 352adaf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugins/security_solution/server/lib/detection_engine/signals/single_search_after.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ describe('singleSearchAfter', () => {
105105
timestampOverride: undefined,
106106
buildRuleMessage,
107107
});
108-
expect(searchErrors).toEqual(['reason: some reason, type: some type, caused by: some reason']);
108+
expect(searchErrors).toEqual([
109+
'reason: "some reason" type: "some type" caused by reason: "some reason" caused by type: "some type"',
110+
]);
109111
});
110112
test('if singleSearchAfter works with a given sort id', async () => {
111113
const searchAfterSortId = '1234567891111';

0 commit comments

Comments
 (0)