From 6b9ba9becfebd1dc2652f117ee91c01155a3b162 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Tue, 13 Jun 2023 15:54:09 -0400 Subject: [PATCH] eslint --- src/components/input/input.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/input/input.test.ts b/src/components/input/input.test.ts index 05c1b7f85..3945105fc 100644 --- a/src/components/input/input.test.ts +++ b/src/components/input/input.test.ts @@ -1,7 +1,6 @@ // eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment -import { getFormControls, serialize } from '../../../dist/shoelace.js'; import { expect, fixture, html, oneEvent, waitUntil } from '@open-wc/testing'; -// import { getFormControls, serialize } from '../../utilities/form'; +import { getFormControls, serialize } from '../../../dist/shoelace.js'; import { runFormControlBaseTests } from '../../internal/test/form-control-base-tests'; import { sendKeys } from '@web/test-runner-commands'; // must come from the same module import sinon from 'sinon'; @@ -183,7 +182,7 @@ describe('', () => { it('should serialize its name and value with JSON', async () => { const form = await fixture(html`
`); - const json = serialize(form); + const json = serialize(form) as { a: "1" }; expect(json.a).to.equal('1'); });