Prettier
Didn't run this on every single file because it messes up the formatting of the some of the TestRenderer constructions
This commit is contained in:
@@ -1,9 +1,44 @@
|
||||
import { Listbox, ListboxButton, ListboxLabel, ListboxOption, ListboxOptions } from ".";
|
||||
import {
|
||||
Listbox,
|
||||
ListboxButton,
|
||||
ListboxLabel,
|
||||
ListboxOption,
|
||||
ListboxOptions,
|
||||
} from ".";
|
||||
import { suppressConsoleLogs } from "$lib/test-utils/suppress-console-logs";
|
||||
import { render } from "@testing-library/svelte";
|
||||
import TestRenderer from "$lib/test-utils/TestRenderer.svelte";
|
||||
import { assertActiveElement, assertActiveListboxOption, assertListbox, assertListboxButton, assertListboxButtonLinkedWithListbox, assertListboxButtonLinkedWithListboxLabel, assertListboxOption, assertNoActiveListboxOption, assertNoSelectedListboxOption, getByText, getListbox, getListboxButton, getListboxButtons, getListboxes, getListboxLabel, getListboxOptions, ListboxState } from "$lib/test-utils/accessibility-assertions";
|
||||
import { click, focus, Keys, MouseButton, mouseLeave, mouseMove, press, shift, type, word } from "$lib/test-utils/interactions";
|
||||
import {
|
||||
assertActiveElement,
|
||||
assertActiveListboxOption,
|
||||
assertListbox,
|
||||
assertListboxButton,
|
||||
assertListboxButtonLinkedWithListbox,
|
||||
assertListboxButtonLinkedWithListboxLabel,
|
||||
assertListboxOption,
|
||||
assertNoActiveListboxOption,
|
||||
assertNoSelectedListboxOption,
|
||||
getByText,
|
||||
getListbox,
|
||||
getListboxButton,
|
||||
getListboxButtons,
|
||||
getListboxes,
|
||||
getListboxLabel,
|
||||
getListboxOptions,
|
||||
ListboxState,
|
||||
} from "$lib/test-utils/accessibility-assertions";
|
||||
import {
|
||||
click,
|
||||
focus,
|
||||
Keys,
|
||||
MouseButton,
|
||||
mouseLeave,
|
||||
mouseMove,
|
||||
press,
|
||||
shift,
|
||||
type,
|
||||
word,
|
||||
} from "$lib/test-utils/interactions";
|
||||
import { Transition } from "../transitions";
|
||||
import TransitionDebug from "$lib/components/disclosure/_TransitionDebug.svelte";
|
||||
import ManagedListbox from "./_ManagedListbox.svelte";
|
||||
@@ -215,9 +250,9 @@ describe('Rendering', () => {
|
||||
// assertListbox({ state: ListboxState.Visible })
|
||||
// })
|
||||
// )
|
||||
})
|
||||
});
|
||||
|
||||
describe('ListboxButton', () => {
|
||||
describe("ListboxButton", () => {
|
||||
// it(
|
||||
// 'should be possible to render a ListboxButton using a render prop',
|
||||
// suppressConsoleLogs(async () => {
|
||||
|
||||
Reference in New Issue
Block a user