import "jasmine"; import {HtmlUtils} from "../../../src/WebRtc/HtmlUtils"; describe("urlify()", () => { // FIXME: we need to add PhantomJS to have a good mock for "document". /*it("should transform an url into a link", () => { const text = HtmlUtils.urlify('foo https://google.com bar'); expect(text).toEqual('foo https://google.com bar'); }); it("should not transform a normal text into a link", () => { const text = HtmlUtils.urlify('hello'); expect(text).toEqual('hello'); }); it("should escape HTML", () => { const text = HtmlUtils.urlify('

boo

'); expect(text).toEqual('<h1>boo</h1>'); });*/ });