diff --git a/test/modules/link_previews_test.js b/test/modules/link_previews_test.js index fb3faa6fafc..29043b154c7 100644 --- a/test/modules/link_previews_test.js +++ b/test/modules/link_previews_test.js @@ -430,6 +430,8 @@ describe('Link previews', () => { it("returns true if the domain doesn't contain a .", () => { assert.isTrue(isLinkSneaky('https://example')); + assert.isTrue(isLinkSneaky('https://localhost')); + assert.isTrue(isLinkSneaky('https://localhost:3000')); }); it('returns true if the domain has any empty labels', () => {