Skip to content

Commit

Permalink
tests: fix unit tests for company
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed Apr 8, 2019
1 parent 977afa8 commit aa70f92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand Down

0 comments on commit aa70f92

Please sign in to comment.