Skip to content

Commit

Permalink
slight update to make test clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Jan 24, 2022
1 parent d5720a7 commit 05b0004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/public/lib/job.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Job', () => {
it('should provide a pretty name for all known job types', () => {
for (const jobType of Object.values(jobTypes)) {
const job = new Job({ ...mockJobs[0], jobtype: jobType });
expect(job.prettyJobTypeName).toBeTruthy();
expect(job.prettyJobTypeName).toEqual(expect.any(String));
}
});

Expand Down

0 comments on commit 05b0004

Please sign in to comment.