diff --git a/test/DummyApi.ts b/test/DummyApi.ts index 6c63dfc1..780ac470 100644 --- a/test/DummyApi.ts +++ b/test/DummyApi.ts @@ -1,4 +1,4 @@ -import Api from '../src/api/Api' +import Api from '@/api/Api' import { ApiInfo, GeocodingResult, @@ -7,7 +7,7 @@ import { RoutingResult, RoutingResultInfo, Bbox, -} from '../src/api/graphhopper' +} from '@/api/graphhopper' import { POIAndQuery, POIQuery } from '@/pois/AddressParseResult' export default class DummyApi implements Api { diff --git a/test/NavBar.test.ts b/test/NavBar.test.ts index 9dfb8f86..b9fb1991 100644 --- a/test/NavBar.test.ts +++ b/test/NavBar.test.ts @@ -1,5 +1,5 @@ import NavBar from '@/NavBar' -import QueryStore, { QueryPoint, QueryPointType } from '../src/stores/QueryStore' +import QueryStore, { QueryPoint, QueryPointType } from '@/stores/QueryStore' import DummyApi from './DummyApi' import { SelectMapLayer, SetPoint, SetVehicleProfile } from '@/actions/Actions' import Dispatcher from '@/stores/Dispatcher' diff --git a/test/Translation.test.ts b/test/Translation.test.ts index 743fa4e9..28978972 100644 --- a/test/Translation.test.ts +++ b/test/Translation.test.ts @@ -1,4 +1,4 @@ -import { setTranslation } from '../src/translation/Translation' +import { setTranslation } from '@/translation/Translation' describe('translate', () => { it('should translate', () => { diff --git a/test/poi/AddressParseResult.test.ts b/test/poi/AddressParseResult.test.ts index 23c05b1b..0fa1d3a0 100644 --- a/test/poi/AddressParseResult.test.ts +++ b/test/poi/AddressParseResult.test.ts @@ -1,5 +1,4 @@ -import { AddressParseResult, POIPhrase } from '@/pois/AddressParseResult' -import fetchMock from 'jest-fetch-mock' +import { AddressParseResult } from '@/pois/AddressParseResult' import { getTranslation, setTranslation } from '@/translation/Translation' beforeAll(() => { diff --git a/test/stores/ApiInfoStore.test.ts b/test/stores/ApiInfoStore.test.ts index 8dba6f3f..9f8a0094 100644 --- a/test/stores/ApiInfoStore.test.ts +++ b/test/stores/ApiInfoStore.test.ts @@ -1,6 +1,6 @@ -import ApiInfoStore from '../../src/stores/ApiInfoStore' -import { InfoReceived } from '../../src/actions/Actions' -import { ApiInfo } from '../../src/api/graphhopper' +import ApiInfoStore from '@/stores/ApiInfoStore' +import { InfoReceived } from '@/actions/Actions' +import { ApiInfo } from '@/api/graphhopper' describe('ApiInfoStore', () => { it('should accept an InfoReceived action and store its result', () => {