module.exports = {
	preset: 'ts-jest',
	testEnvironment: 'jsdom',
	moduleNameMapper: {
		'\\.svg$': '<rootDir>/test/__mocks__/svgMock.ts'
	},
	rootDir: '../',
	moduleNameMapper: {
		'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub'
	},
	reporters: [
		'default',
		[
			'jest-junit',
			{
				outputDirectory: 'test-results',
				outputName: 'unit-junit.xml'
			}
		]
	]
};
