Skip to content

Commit

Permalink
fix: test error message
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Jan 19, 2025
1 parent f288ed8 commit 58e7d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ describe(`#getLinkPreview()`, () => {
await getLinkPreview(`http://google.com/`, { followRedirects: `error` });
} catch (e: any) {
expect(e.message).toEqual(
`uri requested responds with a redirect, redirect mode is set to error: http://google.com/`
`fetch failed`
);
}
});
Expand Down

0 comments on commit 58e7d6e

Please sign in to comment.