mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
feat(tooltip): add tooltip component and directive with customizable triggers Introduce a new tooltip library for Angular applications, featuring a flexible tooltip component that supports various trigger events (click, hover, focus) and customizable content. Includes necessary styles, tests, and documentation for usage and configuration. Ref: #4992
22 lines
674 B
TypeScript
22 lines
674 B
TypeScript
export default {
|
|
displayName: 'ui-tooltip',
|
|
preset: '../../../jest.preset.js',
|
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
|
coverageDirectory: '../../../coverage/libs/ui/tooltip',
|
|
transform: {
|
|
'^.+\\.(ts|mjs|js|html)$': [
|
|
'jest-preset-angular',
|
|
{
|
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
|
stringifyContentPathRegex: '\\.(html|svg)$',
|
|
},
|
|
],
|
|
},
|
|
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
|
|
snapshotSerializers: [
|
|
'jest-preset-angular/build/serializers/no-ng-attributes',
|
|
'jest-preset-angular/build/serializers/ng-snapshot',
|
|
'jest-preset-angular/build/serializers/html-comment',
|
|
],
|
|
};
|