From aa70f92b85b99ab8d8258b56ce6541c39c516a9f Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Sun, 7 Apr 2019 19:26:01 -0500 Subject: [PATCH] tests: fix unit tests for company --- lib/index.test.js | 2 ++ 1 file changed, 2 insertions(+) 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),