This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Draw Dot-Circle Pattern with Illustrator | |
Copyright(c) 2016 Jonas Scheiwiller | |
Wed 4 May 2016 18:14:18 | |
JavaScript Script for Adobe Illustrator CC 2015 | |
Tested with Adobe Illustrator CC 19.2.1, Mac OS X El Capitan. | |
This script provided "as is" without warranty of any kind. | |
Free to use and distribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="StoreFinderMap" aria-hidden="true"> | |
<!-- Using v-show because the DOM element has to exist when initiating the map --> | |
<div v-show="map" ref="map" class="StoreFinderMap__map-wrapper" /> | |
<div class="StoreFinderMap__control-wrapper"> | |
<StoreFinderZoomButton magnify @magnify="magnify">+</StoreFinderZoomButton> | |
<StoreFinderZoomButton demagnify @demagnify="demagnify">-</StoreFinderZoomButton> | |
</div> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { shallowMount } from '@vue/test-utils'; | |
import jest from 'jest-mock'; | |
import StoreFinderMap from '../../src/modules/StoreFinder/components/StoreFinderMap/StoreFinderMap.vue'; | |
describe('StoreFinderMap', () => { | |
let wrapper; | |
beforeEach(() => { | |
const initMapMock = jest.fn(); | |
const initMarkersMock = jest.fn(); |