Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed Jul 21, 2024
1 parent bb8670d commit 99ddfbc
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 @@ -59,7 +59,7 @@ describe('getEntity', () => {
it('works for direct domain usage', () => {
expect(getEntity('https://js.connect.facebook.net/lib.js')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 537.7635411466493,
"averageExecutionTime": 387.5557268806942,
"categories": Array [
"social",
],
Expand Down Expand Up @@ -103,16 +103,16 @@ describe('getEntity', () => {
],
},
],
"totalExecutionTime": 1944372814,
"totalOccurrences": 3615665,
"totalExecutionTime": 1232848097,
"totalOccurrences": 3181086,
}
`)
})

it('works for inferred domain usage', () => {
expect(getEntity('https://unknown.typekit.net/fonts.css')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 267.3227213797333,
"averageExecutionTime": 339.5325083117843,
"categories": Array [
"cdn",
],
Expand All @@ -129,8 +129,8 @@ describe('getEntity', () => {
"homepage": "https://fonts.adobe.com/",
"name": "Adobe TypeKit",
"products": Array [],
"totalExecutionTime": 49692888,
"totalOccurrences": 185891,
"totalExecutionTime": 34926351,
"totalOccurrences": 102866,
}
`)
})
Expand Down

0 comments on commit 99ddfbc

Please sign in to comment.