add module alias '@tests/'
Alias would remove unnecessary repetitions and less relative paths make changes easier when moving around files. This commit cleans also up some relative paths ('../../../') by using the alias and orders imports. It updates both path alias in tsconfig and module alias in Vue CLI's bundler (vuejs/vue-cli#2398).
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { Application } from '@/domain/Application';
|
||||
import { CategoryCollectionStub } from '../stubs/CategoryCollectionStub';
|
||||
import { ProjectInformationStub } from '../stubs/ProjectInformationStub';
|
||||
import { OperatingSystem } from '@/domain/OperatingSystem';
|
||||
import { CategoryCollectionStub } from '@tests/unit/stubs/CategoryCollectionStub';
|
||||
import { ProjectInformationStub } from '@tests/unit/stubs/ProjectInformationStub';
|
||||
|
||||
describe('Application', () => {
|
||||
describe('getCollection', () => {
|
||||
|
||||
Reference in New Issue
Block a user