Skip to content

Commit

Permalink
tests: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed Jun 10, 2019
1 parent 5810cce commit dfe9aa3
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 @@ -36,7 +36,7 @@ describe('getEntity', () => {
it('works for direct domain usage', () => {
expect(getEntity('https://js.connect.facebook.net/lib.js')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 142.31544325799132,
"averageExecutionTime": 142.3708560765058,
"categories": Array [
"social",
],
Expand All @@ -60,16 +60,16 @@ Object {
],
"homepage": "https://www.facebook.com",
"name": "Facebook",
"totalExecutionTime": 144433524,
"totalOccurrences": 1014883,
"totalExecutionTime": 144421993,
"totalOccurrences": 1014407,
}
`)
})

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

0 comments on commit dfe9aa3

Please sign in to comment.