This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit e684bcfd authored by Michael Breu's avatar Michael Breu
Browse files

fixing local "npm test"

parent 3d5e397b
2 merge requests!231New Deployment into production and update gitlab,!225Resolve "Collections mehr hervorheben"
......@@ -6,13 +6,17 @@ const {
const environment = require('./webpack/environment');
module.exports = {
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$|dayjs/esm)'],
transformIgnorePatterns: ['(node_modules/(?!.*\\.mjs$|dayjs/esm))'],
transform: {
'^.+\\.spec.ts?$': ['ts-jest', {//the content you'd placed at "global"
babel: true,
tsConfig: 'tsconfig.spec.json',
}],
},
'^.+\\.spec.ts?$': [
'ts-jest',
{
//the content you'd placed at "global"
babel: true,
tsConfig: 'tsconfig.spec.json',
},
],
},
resolver: 'jest-preset-angular/build/resolvers/ng-jest-resolver.js',
globals: {
...environment,
......@@ -29,6 +33,6 @@ module.exports = {
testEnvironment: 'jsdom',
testEnvironmentOptions: {
url: 'http://localhost/',
html: '<html lang="de></html>'
}
html: '<html lang="de></html>',
},
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment