diff --git a/lib/index.test.js b/lib/index.test.js index 0a69150..14677fc 100644 --- a/lib/index.test.js +++ b/lib/index.test.js @@ -22,6 +22,7 @@ describe('getEntity', () => { it('works for direct domain usage', () => { expect(getEntity('https://js.connect.facebook.net/lib.js')).toEqual({ name: 'Facebook', + company: 'Facebook', homepage: 'https://www.facebook.com', categories: ['social'], domains: expect.any(Array), @@ -31,6 +32,7 @@ describe('getEntity', () => { it('works for inferred domain usage', () => { expect(getEntity('https://unknown.typekit.net/fonts.css')).toEqual({ name: 'Adobe TypeKit', + company: 'Adobe', homepage: 'https://fonts.adobe.com/', categories: ['library'], domains: expect.any(Array),