diff --git a/test/main.spec.ts b/test/main.spec.ts index 33b097900..6e13f31f9 100644 --- a/test/main.spec.ts +++ b/test/main.spec.ts @@ -599,7 +599,8 @@ describe('Test correct encoding of badge URL', () => { it('should URL encode the job ID and repository with special characters', () => { process.env.GITHUB_WORKFLOW = 'test/job@workflow'; process.env.GITHUB_REPOSITORY = 'test/repo@special'; - const expectedBadge: string = '![](https://example.jfrog.io/ui/api/v1/u?s=1&m=1&job_id=test%2Fjob%40workflow&run_id=123&git_repo=test%2Frepo%40special)'; + const expectedBadge: string = + '![](https://example.jfrog.io/ui/api/v1/u?s=1&m=1&job_id=test%2Fjob%40workflow&run_id=123&git_repo=test%2Frepo%40special)'; expect(Utils.getUsageBadge()).toBe(expectedBadge); }); @@ -610,4 +611,4 @@ describe('Test correct encoding of badge URL', () => { expect(Utils.getUsageBadge()).toBe(expectedBadge); }); }); -}); \ No newline at end of file +});