Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl committed Oct 31, 2023
1 parent ed51ade commit 97b8865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/osquery_cypress/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ export const getLatestAvailableAgentVersion = async (kbnClient: KbnClient): Prom
return version;
};

export const generateRandomString = (length) => {
export const generateRandomString = (length: number) => {
return [...Array(length)].map(() => Math.random().toString(36)[2]).join('');
};

0 comments on commit 97b8865

Please sign in to comment.