<commit_before>// Components
import VBtnToggle from '../VBtnToggle'

// Utilities
import {
  mount,
  Wrapper
} from '@vue/test-utils'

// Types
import { ExtractVue } from '../../../util/mixins'

describe('VBtnToggle.ts', () => {
  type Instance = ExtractVue<typeof VBtnToggle>
  let mountFunction: (options?: object) => Wrapper<Instance>

  beforeEach(() => {
    mountFunction = (options = {}) => {
      return mount(VBtnToggle, {
        ...options,
        mocks: {
          $vuetify: {
            lang: {
              t: (val: string) => val
            }
          }
        }
      })
    }
  })

  it('should work', () => {
    const wrapper = mountFunction()
    expect(wrapper).toBeTruthy()
  })
})<commit_msg>refactor(VBtnToggle): remove reference to mocks (#6798)<commit_after>// Components
import VBtnToggle from '../VBtnToggle'

// Utilities
import {
  mount,
  Wrapper
} from '@vue/test-utils'

// Types
import { ExtractVue } from '../../../util/mixins'

describe('VBtnToggle.ts', () => {
  type Instance = ExtractVue<typeof VBtnToggle>
  let mountFunction: (options?: object) => Wrapper<Instance>

  beforeEach(() => {
    mountFunction = (options = {}) => {
      return mount(VBtnToggle, {
        ...options
      })
    }
  })

  it('should work', () => {
    const wrapper = mountFunction()
    expect(wrapper).toBeTruthy()
  })
})
{'fraction_non_alphanumeric': 0.17182890855457228, 'fraction_numerical': 0.0029498525073746312, 'mean_word_length': 2.461734693877551, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5528922', 'n_tokens_mistral': 442, 'n_tokens_neox': 430, 'n_words': 90}