Skip to content

Commit 58e7d6e

Browse files
committed
fix: test error message
1 parent f288ed8 commit 58e7d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ describe(`#getLinkPreview()`, () => {
214214
await getLinkPreview(`http://google.com/`, { followRedirects: `error` });
215215
} catch (e: any) {
216216
expect(e.message).toEqual(
217-
`uri requested responds with a redirect, redirect mode is set to error: http://google.com/`
217+
`fetch failed`
218218
);
219219
}
220220
});

0 commit comments

Comments
 (0)