Skip to content

Commit

Permalink
tests: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed May 14, 2019
1 parent f6e0f82 commit 5913f6d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('getEntity', () => {
it('works for direct domain usage', () => {
expect(getEntity('https://js.connect.facebook.net/lib.js')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 142.3708560765058,
"averageExecutionTime": 143.90937560613312,
"categories": Array [
"social",
],
Expand Down Expand Up @@ -54,16 +54,16 @@ Object {
],
"homepage": "https://www.facebook.com",
"name": "Facebook",
"totalExecutionTime": 144421993,
"totalOccurrences": 1014407,
"totalExecutionTime": 147646846,
"totalOccurrences": 1025971,
}
`)
})

it('works for inferred domain usage', () => {
expect(getEntity('https://unknown.typekit.net/fonts.css')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 91.7116918051686,
"averageExecutionTime": 91.44604519774012,
"categories": Array [
"library",
],
Expand All @@ -75,8 +75,8 @@ Object {
],
"homepage": "https://fonts.adobe.com/",
"name": "Adobe TypeKit",
"totalExecutionTime": 954627,
"totalOccurrences": 10409,
"totalExecutionTime": 971157,
"totalOccurrences": 10620,
}
`)
})
Expand Down

0 comments on commit 5913f6d

Please sign in to comment.