diff --git a/packages/docs/src/util/markdown-it-rules.ts b/packages/docs/src/util/markdown-it-rules.ts index 9b775e86fb8..6be233a28fe 100644 --- a/packages/docs/src/util/markdown-it-rules.ts +++ b/packages/docs/src/util/markdown-it-rules.ts @@ -41,7 +41,7 @@ function addImageRules (md: MarkdownIt) { const placeholder = token.attrGet('placeholder') ? 'https://cdn.vuetifyjs.com/docs/images/graphics/placeholder.png' : undefined const src = placeholder ?? token.attrGet('src') const title = token.attrGet('title') ?? '' - const isEntry = alt.toLowerCase().includes('entry') + // const isEntry = alt.toLowerCase().includes('entry') const height = token.attrGet('height') ?? '' return ` diff --git a/packages/vuetify/src/composables/date/__tests__/date.spec.ts b/packages/vuetify/src/composables/date/__tests__/date.spec.ts index f8008b0d722..73e3c640ae6 100644 --- a/packages/vuetify/src/composables/date/__tests__/date.spec.ts +++ b/packages/vuetify/src/composables/date/__tests__/date.spec.ts @@ -1,34 +1,11 @@ // Composables -import { getWeek, makeDateProps, useDate } from '../date' -import { createVuetify } from '@/framework' +import { getWeek } from '../date' // Utilities import { describe, expect, it } from '@jest/globals' -import { mount } from '@vue/test-utils' -import { defineComponent, h } from 'vue' import { VuetifyDateAdapter } from '../adapters/vuetify' describe('date.ts', () => { - const Component = defineComponent({ - props: makeDateProps(), - - setup (props) { - const date = useDate() - - return { date } - }, - - render () { - return h('div', this.$slots.default?.(this.date)) - }, - }) - - const vuetify = createVuetify({ - date: { - adapter: VuetifyDateAdapter, - }, - }) - it('should have the correct days in a month', () => { const adapter = new VuetifyDateAdapter({ locale: 'en-US' }) diff --git a/packages/vuetify/src/shims.d.ts b/packages/vuetify/src/shims.d.ts index 3331eecd52a..96fda32e6e9 100644 --- a/packages/vuetify/src/shims.d.ts +++ b/packages/vuetify/src/shims.d.ts @@ -4,7 +4,6 @@ import type { ComponentPublicInstance, FunctionalComponent, UnwrapNestedRefs, VN // @skip-build import type { DateOptions, DefaultsInstance, DisplayInstance, IconOptions, LocaleInstance, RtlInstance, ThemeInstance } from './framework' -// @skip-build declare global { namespace JSX {