Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/blame/commit/15c96a97572c6c978a85bfc7558fc1a5abbb535c/apps/client/jest.config.ts You should set ROOT_URL correctly, otherwise the web may not work correctly.
ghostfolio/apps/client/jest.config.ts

25 lines
688 B

/* eslint-disable */
export default {
4 years ago
displayName: 'client',
4 years ago
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
4 years ago
coverageDirectory: '../../coverage/apps/client',
snapshotSerializers: [
'jest-preset-angular/build/serializers/no-ng-attributes',
'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment'
],
transform: {
'^.+.(ts|mjs|js|html)$': [
'jest-preset-angular',
{
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$'
}
]
},
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
preset: '../../jest.preset.js'
4 years ago
};