From 2810b38e7aba7b21cd4bcda4008807b5f1f9ded2 Mon Sep 17 00:00:00 2001 From: Davide Mininni Date: Thu, 12 Oct 2023 14:22:07 +0200 Subject: [PATCH 1/2] fix: format --- .../sbb-timetable-park-and-rail.spec.ts | 4 +++- .../sbb-timetable-row-column-headers.spec.ts | 6 +++++- .../sbb-timetable-row-day-change.spec.ts | 4 +++- .../sbb-timetable-row-header.spec.ts | 5 ++++- .../sbb-timetable-travel-hints.spec.ts | 5 ++++- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/components/sbb-timetable-park-and-rail/sbb-timetable-park-and-rail.spec.ts b/src/components/sbb-timetable-park-and-rail/sbb-timetable-park-and-rail.spec.ts index 0f2537161b..62c0f7f08b 100644 --- a/src/components/sbb-timetable-park-and-rail/sbb-timetable-park-and-rail.spec.ts +++ b/src/components/sbb-timetable-park-and-rail/sbb-timetable-park-and-rail.spec.ts @@ -7,7 +7,9 @@ const config = JSON.stringify(sampleData[0]); describe('sbb-timetable-park-and-rail', () => { it('renders', async () => { - const root = await fixture(html``); + const root = await fixture( + html``, + ); expect(root).dom.to.be.equal( ` diff --git a/src/components/sbb-timetable-row-column-headers/sbb-timetable-row-column-headers.spec.ts b/src/components/sbb-timetable-row-column-headers/sbb-timetable-row-column-headers.spec.ts index 48c11f032e..35da478351 100644 --- a/src/components/sbb-timetable-row-column-headers/sbb-timetable-row-column-headers.spec.ts +++ b/src/components/sbb-timetable-row-column-headers/sbb-timetable-row-column-headers.spec.ts @@ -7,7 +7,11 @@ const config = JSON.stringify(sampleData); describe('sbb-timetable-row-column-headers', () => { it('renders', async () => { - const root = await fixture(html``); + const root = await fixture( + html``, + ); expect(root).dom.to.be.equal( ` diff --git a/src/components/sbb-timetable-row-day-change/sbb-timetable-row-day-change.spec.ts b/src/components/sbb-timetable-row-day-change/sbb-timetable-row-day-change.spec.ts index 15e6c0415c..865fa94590 100644 --- a/src/components/sbb-timetable-row-day-change/sbb-timetable-row-day-change.spec.ts +++ b/src/components/sbb-timetable-row-day-change/sbb-timetable-row-day-change.spec.ts @@ -7,7 +7,9 @@ const config = JSON.stringify(sampleData[1]); describe('sbb-timetable-row-day-change', () => { it('renders', async () => { - const root = await fixture(html``); + const root = await fixture( + html``, + ); expect(root).dom.to.be.equal( ` diff --git a/src/components/sbb-timetable-row-header/sbb-timetable-row-header.spec.ts b/src/components/sbb-timetable-row-header/sbb-timetable-row-header.spec.ts index 942b07ee20..8e78764149 100644 --- a/src/components/sbb-timetable-row-header/sbb-timetable-row-header.spec.ts +++ b/src/components/sbb-timetable-row-header/sbb-timetable-row-header.spec.ts @@ -8,7 +8,10 @@ const config = JSON.stringify(sampleData[0]); describe('sbb-timetable-row-header', () => { it('renders', async () => { const root = await fixture( - html``, + html``, ); expect(root).dom.to.be.equal( diff --git a/src/components/sbb-timetable-travel-hints/sbb-timetable-travel-hints.spec.ts b/src/components/sbb-timetable-travel-hints/sbb-timetable-travel-hints.spec.ts index aded2e43ab..18b341cc79 100644 --- a/src/components/sbb-timetable-travel-hints/sbb-timetable-travel-hints.spec.ts +++ b/src/components/sbb-timetable-travel-hints/sbb-timetable-travel-hints.spec.ts @@ -8,7 +8,10 @@ const config = JSON.stringify(sampleData[0]); describe('sbb-timetable-travel-hints', () => { it('renders', async () => { const root = await fixture( - html``, + html``, ); expect(root).dom.to.be.equal( From bf2155a883ef5e4f6013cf8a263dd8f5eff0c507 Mon Sep 17 00:00:00 2001 From: Davide Mininni Date: Thu, 12 Oct 2023 15:18:23 +0200 Subject: [PATCH 2/2] fix: remove flag from integrity --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 22820ee3da..abfd685953 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "docs": "npm-run-all --sequential docs:manifest", "docs:manifest": "custom-elements-manifest analyze", "format": "prettier \"**/*\" --write --ignore-unknown", - "integrity": "yarn -S format", + "integrity": "yarn format", "lint": "npm-run-all --sequential lint:*", "lint:ts": "eslint \"**/*.{ts,tsx}\"", "lint:js": "eslint \"**/*.js\"",