Skip to content

Commit

Permalink
chore: bump snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jan 21, 2024
1 parent f8c6baf commit 583f60e
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions packages/cli/test/csv-reports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@ describe('csv reports', () => {
const actual = generateReportPayload('csv', lighthouseReport)
expect(actual).toMatchInlineSnapshot(`
"URL,Score,Performance,Accessibility,Best Practices,SEO
\\"/\\",98,100,100,100,92
\\"/blog\\",97,100,97,100,92
\\"/blog/2023-february\\",97,100,97,100,92
\\"/blog/2023-march\\",97,100,97,100,92
\\"/blog/how-the-heck-does-vite-work\\",97,100,97,100,92
\\"/blog/modern-package-development\\",95,100,97,92,92
\\"/blog/vue-automatic-component-imports\\",97,100,97,100,92
\\"/projects\\",97,100,97,100,92
\\"/sponsors\\",97,100,97,100,92
\\"/talks\\",97,100,97,100,92"
"/",98,100,100,100,92
"/blog",97,100,97,100,92
"/blog/2023-february",97,100,97,100,92
"/blog/2023-march",97,100,97,100,92
"/blog/how-the-heck-does-vite-work",97,100,97,100,92
"/blog/modern-package-development",95,100,97,92,92
"/blog/vue-automatic-component-imports",97,100,97,100,92
"/projects",97,100,97,100,92
"/sponsors",97,100,97,100,92
"/talks",97,100,97,100,92"
`)
})

it('expanded', () => {
const actual = generateReportPayload('csvExpanded', lighthouseReport, DefaultColumns)
expect(actual).toMatchInlineSnapshot(`
"URL,Score,Performance,Accessibility,Best Practices,SEO,Largest Contentful Paint,Cumulative Layout Shift,FID,Blocking,Color Contrast,Headings,Image Alts,Link Names,Errors,Inspector Issues,Images Responsive,Image Aspect Ratio,Indexable
\\"/\\",98,100,100,100,92,279.17,0,68.82,0,1,1,1,1,1,1,1,1,1
\\"/blog\\",97,100,97,100,92,271.21,0,51.46,0,0,1,1,1,1,1,1,1,1
\\"/blog/2023-february\\",97,100,97,100,92,350.38,0,61.1,0,0,1,1,1,1,1,1,1,1
\\"/blog/2023-march\\",97,100,97,100,92,486.98,0,44.92,0,0,1,1,1,1,1,1,1,1
\\"/blog/how-the-heck-does-vite-work\\",97,100,97,100,92,332.11,0,52.51,2.51,0,1,1,1,1,1,1,1,1
\\"/blog/modern-package-development\\",95,100,97,92,92,568.43,0,55.73,5.73,0,1,1,1,1,1,1,1,1
\\"/blog/vue-automatic-component-imports\\",97,100,97,100,92,507.04,0,91.53,81.86,0,1,1,1,1,1,1,1,1
\\"/projects\\",97,100,97,100,92,391.93,0,75.74,25.74,0,1,1,1,1,1,1,1,1
\\"/sponsors\\",97,100,97,100,92,405.03,0,58.72,0,0,1,1,1,1,1,1,1,1
\\"/talks\\",97,100,97,100,92,244.35,0,33.67,0,0,1,1,1,1,1,1,1,1"
"/",98,100,100,100,92,279.17,0,68.82,0,1,1,1,1,1,1,1,1,1
"/blog",97,100,97,100,92,271.21,0,51.46,0,0,1,1,1,1,1,1,1,1
"/blog/2023-february",97,100,97,100,92,350.38,0,61.1,0,0,1,1,1,1,1,1,1,1
"/blog/2023-march",97,100,97,100,92,486.98,0,44.92,0,0,1,1,1,1,1,1,1,1
"/blog/how-the-heck-does-vite-work",97,100,97,100,92,332.11,0,52.51,2.51,0,1,1,1,1,1,1,1,1
"/blog/modern-package-development",95,100,97,92,92,568.43,0,55.73,5.73,0,1,1,1,1,1,1,1,1
"/blog/vue-automatic-component-imports",97,100,97,100,92,507.04,0,91.53,81.86,0,1,1,1,1,1,1,1,1
"/projects",97,100,97,100,92,391.93,0,75.74,25.74,0,1,1,1,1,1,1,1,1
"/sponsors",97,100,97,100,92,405.03,0,58.72,0,0,1,1,1,1,1,1,1,1
"/talks",97,100,97,100,92,244.35,0,33.67,0,0,1,1,1,1,1,1,1,1"
`)
})
})

0 comments on commit 583f60e

Please sign in to comment.