Skip to content

Commit b5c13d4

Browse files
committed
fixes jest tests
1 parent 4262c59 commit b5c13d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • x-pack/plugins/security_solution/public/common/components/exceptions

x-pack/plugins/security_solution/public/common/components/exceptions/helpers.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,13 @@ describe('Exception helpers', () => {
320320
test('it returns null if no operating system tag specified', () => {
321321
const result = getOperatingSystems(['some tag', 'some other tag']);
322322

323-
expect(result).toEqual('');
323+
expect(result).toEqual([]);
324324
});
325325

326326
test('it returns null if operating system tag malformed', () => {
327327
const result = getOperatingSystems(['some tag', 'jibberos:mac,windows', 'some other tag']);
328328

329-
expect(result).toEqual('');
329+
expect(result).toEqual([]);
330330
});
331331

332332
test('it returns operating systems if space included in os tag', () => {

0 commit comments

Comments
 (0)