fix tests

This commit is contained in:
Hongbo Wu 2022-04-21 21:31:31 +08:00
parent ebfdf1f3a0
commit 6d2700e865

View file

@ -83,7 +83,7 @@ describe('Newsletter email test', () => {
it('returns url when email is from SubStack', () => {
const rawUrl = '<https://hongbo130.substack.com/p/tldr>'
expect(new SubstackHandler().getNewsletterUrl(rawUrl, '')).to.equal(
expect(new SubstackHandler().parseNewsletterUrl(rawUrl, '')).to.equal(
'https://hongbo130.substack.com/p/tldr'
)
})