Skip to content

Commit fe7a708

Browse files
committed
PD-5749 Fix unit tes
1 parent e63f89f commit fe7a708

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/assets/print-view/fetch-orcid.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ describe('fetch-orcid.js', () => {
286286
const anchor = node.querySelector('a')
287287
expect(anchor).not.toBeNull()
288288
expect(anchor!.href).toBe('https://scopus.com/12345')
289-
expect(anchor!.textContent).toBe('(https://scopus.com/12345)')
289+
expect(anchor!.textContent).toBe('https://scopus.com/12345')
290290
})
291291

292292
it('renders value as a link and IGNORES url parameter when value IS a URL', () => {

0 commit comments

Comments
 (0)