chore(): run lint on datetime test files

This commit is contained in:
Liam DeBeasi
2022-12-14 21:55:11 +00:00
parent f9c681331c
commit c833423dc9
2 changed files with 0 additions and 4 deletions

View File

@ -7,7 +7,6 @@ test.describe('datetime: color', () => {
await page.goto('/src/components/datetime/test/color');
const darkModeToggle = page.locator('ion-checkbox');
const datetime = page.locator('ion-datetime');
expect(await datetime.screenshot()).toMatchSnapshot(`datetime-color-${page.getSnapshotSettings()}.png`);

View File

@ -159,14 +159,11 @@ test.describe('datetime: multiple date selection (functionality)', () => {
await expect(monthYear).toHaveText('April 2022');
});
<<<<<<< HEAD
=======
test('multiple=false and array for default value should switch to first item', async () => {
const datetime = await datetimeFixture.goto(MULTIPLE_DATES, { multiple: false });
await expect(datetime).toHaveJSProperty('value', SINGLE_DATE);
});
>>>>>>> origin/main
test('with buttons, should only update value when confirm is called', async ({ page }) => {
const datetime = await datetimeFixture.goto(SINGLE_DATE, { showDefaultButtons: true });
const june2Button = datetime.locator('[data-month="6"][data-day="2"]');