Address.spec.js 768 B

123456789101112131415161718192021
  1. import { mount } from '@vue/test-utils'
  2. import Vuetify from 'vuetify'
  3. import Address from '~/components/Ui/Search/Address'
  4. let wrapper
  5. let vuetify
  6. beforeEach(() => {
  7. vuetify = new Vuetify()
  8. wrapper = mount(Address, {
  9. vuetify
  10. })
  11. })
  12. describe('components/ui/search/address', () => {
  13. it('an input of 1+ cars shall display results', async () => {})
  14. it('position shall be set when a result is clicked', async () => {})
  15. it('position shall be cleared when input is cleared', async () => {})
  16. it('first result shall be selected when enter key is pressed', async () => {})
  17. it('user position shall be set when localize icon is clicked', async () => {})
  18. it('error message shall be displayed if the browser does not support localization', async () => {})
  19. })