diff --git a/src/components/input/input.test.ts b/src/components/input/input.test.ts index 05c1b7f8..3945105f 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'); });