<commit_before>import Menu from '../../components/Menu'
import { vueTest } from '../utils'

describe('Menu', function () {
  let vm
  let menu
  before(() => {
    vm = vueTest(Menu)
    menu = vm.$('[for=v-menu]')
  })

  it('exists', function () {
    menu.should.exist
  })

  it('is upgraded', function () {
    menu.should.have.class('mdl-menu')
    menu.should.have.attr('data-upgraded')
    .match(/MaterialMenu/)
  })
})<commit_msg>Use fat arrows instead of functions for callbacks in Menu<commit_after>import Menu from '../../components/Menu'
import { vueTest } from '../utils'

describe('Menu', () => {
  let vm
  let menu
  before(() => {
    vm = vueTest(Menu)
    menu = vm.$('[for=v-menu]')
  })

  it('exists', () => {
    menu.should.exist
  })

  it('is upgraded', () => {
    menu.should.have.class('mdl-menu')
    menu.should.have.attr('data-upgraded')
    .match(/MaterialMenu/)
  })
})
{'fraction_non_alphanumeric': 0.20750551876379691, 'fraction_numerical': 0.0, 'mean_word_length': 2.9094827586206895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '5259520', 'n_tokens_mistral': 320, 'n_tokens_neox': 312, 'n_words': 62}