Skip to content

Commit a057d6d

Browse files
[autofix.ci] apply automated fixes
1 parent d5872e2 commit a057d6d

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

test/nuxt/a11y.spec.ts

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,18 +1009,14 @@ describe('component accessibility audits', () => {
10091009
return defineComponent({
10101010
setup() {
10111011
return () =>
1012-
h(
1013-
TabRoot,
1014-
{ modelValue, idPrefix },
1015-
() => [
1016-
h(TabList, { ariaLabel: 'Test tabs' }, () => [
1017-
h(TabItem, { value: 'first' }, () => 'First'),
1018-
h(TabItem, { value: 'second' }, () => 'Second'),
1019-
]),
1020-
h(TabPanel, { value: 'first' }, () => 'First content'),
1021-
h(TabPanel, { value: 'second' }, () => 'Second content'),
1022-
],
1023-
)
1012+
h(TabRoot, { modelValue, idPrefix }, () => [
1013+
h(TabList, { ariaLabel: 'Test tabs' }, () => [
1014+
h(TabItem, { value: 'first' }, () => 'First'),
1015+
h(TabItem, { value: 'second' }, () => 'Second'),
1016+
]),
1017+
h(TabPanel, { value: 'first' }, () => 'First content'),
1018+
h(TabPanel, { value: 'second' }, () => 'Second content'),
1019+
])
10241020
},
10251021
})
10261022
}

test/nuxt/components/Tab.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ function createTabsWrapper(props: { modelValue: string; idPrefix?: string }) {
1010
return () =>
1111
h(
1212
TabRoot,
13-
({
14-
modelValue: props.modelValue,
15-
idPrefix: props.idPrefix ?? 'test',
16-
'onUpdate:modelValue': () => {}
17-
}),
13+
{
14+
'modelValue': props.modelValue,
15+
'idPrefix': props.idPrefix ?? 'test',
16+
'onUpdate:modelValue': () => {},
17+
},
1818
() => [
1919
h(TabList, { ariaLabel: 'Test tabs' }, () => [
2020
h(TabItem, { value: 'one' }, () => 'One'),

test/unit/app/utils/versions.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,6 @@ function row(version: string, tags: string[]) {
430430
}
431431

432432
describe('compareTagRows', () => {
433-
434433
it('sorts by tag priority ascending (rc before beta)', () => {
435434
const rc = row('2.0.0-rc.1', ['rc'])
436435
const beta = row('2.0.0-beta.1', ['beta'])

0 commit comments

Comments
 (0)