Skip to content

Commit

Permalink
fix: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain GUILLAUME committed Nov 21, 2024
1 parent d274c80 commit cd2f366
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": 379.7486743267565,
"averageExecutionTime": 347.4278160199557,
"categories": Array [
"social",
],
Expand Down Expand Up @@ -103,16 +103,16 @@ describe('getEntity', () => {
],
},
],
"totalExecutionTime": 1178628239,
"totalOccurrences": 3103706,
"totalExecutionTime": 1097107210,
"totalOccurrences": 3157799,
}
`)
})

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

0 comments on commit cd2f366

Please sign in to comment.