Structures.spec.js 783 B

123456789101112131415161718192021
  1. import { mount } from '@vue/test-utils'
  2. import Vuetify from 'vuetify'
  3. import Address from '~/components/Ui/Map/Structures'
  4. let wrapper
  5. let vuetify
  6. beforeEach(() => {
  7. vuetify = new Vuetify()
  8. wrapper = mount(Structures, {
  9. vuetify
  10. })
  11. })
  12. describe('components/ui/map/structures', () => {
  13. it('default bounds shall show metropolitan france', async () => {})
  14. it('structures shall be displayed as markers', async () => {})
  15. it('on click, markers shall show a popup showing their name, address and website', async () => {})
  16. it('on click, geo-shortcuts shall move the map to the given location', async () => {})
  17. it('map shall emit an event when bounds change', async () => {})
  18. it('when called from above, zoomOnResults shall zoom on the new data set', async () => {})
  19. })