mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Co-authored-by: ionitron <hi@ionicframework.com>
20 lines
515 B
JavaScript
20 lines
515 B
JavaScript
import path from 'path';
|
|
import url from 'url';
|
|
|
|
import { createJestStencilPreset } from 'jest-stencil-runner';
|
|
|
|
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
|
|
export default createJestStencilPreset({
|
|
rootDir: __dirname,
|
|
// Add any additional Jest configuration here
|
|
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
|
collectCoverageFrom: [
|
|
'src/**/*.{ts,tsx}',
|
|
'!src/**/*.d.ts',
|
|
],
|
|
testMatch: [
|
|
'**/__tests__/**/*.(ts|tsx|js)',
|
|
'**/*.(test|spec).(ts|tsx|js)'
|
|
]
|
|
}); |