Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenIdo committed Jun 24, 2024
1 parent acca3d5 commit 6cee5ee
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ describe('getCloudSecurityUsageRecord', () => {

describe('getSearchQueryByCloudSecuritySolution', () => {
it('should return the correct search query for CSPM', () => {
const searchFrom = new Date('2023-07-30T15:11:41.738Z');

const result = getSearchQueryByCloudSecuritySolution('cspm', searchFrom);
const result = getSearchQueryByCloudSecuritySolution('cspm');

expect(result).toEqual({
bool: {
Expand Down Expand Up @@ -211,9 +209,7 @@ describe('getSearchQueryByCloudSecuritySolution', () => {
});

it('should return the correct search query for KSPM', () => {
const searchFrom = new Date('2023-07-30T15:11:41.738Z');

const result = getSearchQueryByCloudSecuritySolution('kspm', searchFrom);
const result = getSearchQueryByCloudSecuritySolution('kspm');

expect(result).toEqual({
bool: {
Expand Down Expand Up @@ -241,9 +237,7 @@ describe('getSearchQueryByCloudSecuritySolution', () => {
});

it('should return the correct search query for CNVM', () => {
const searchFrom = new Date('2023-07-30T15:11:41.738Z');

const result = getSearchQueryByCloudSecuritySolution(CNVM, searchFrom);
const result = getSearchQueryByCloudSecuritySolution(CNVM);

expect(result).toEqual({
bool: {
Expand Down

0 comments on commit 6cee5ee

Please sign in to comment.