diff --git a/karma.conf.js b/karma.conf.js index bedda366..26d1778f 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -26,7 +26,7 @@ module.exports = function (config) suppressAll: true // removes the duplicated traces }, coverageReporter : { - dir : require('path').join(__dirname, './coverage/angular12'), + dir : require('path').join(__dirname, './coverage/fuse'), subdir : '.', reporters: [ {type: 'html'}, diff --git a/package.json b/package.json index 7f4eab33..30bf8e69 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,7 @@ "start": "ng serve", "build": "ng build", "test": "ng test", - "lint": "ng lint", - "e2e": "ng e2e" + "lint": "ng lint" }, "dependencies": { "@angular/animations": "12.1.1", diff --git a/src/app/core/transloco/transloco.module.ts b/src/app/core/transloco/transloco.module.ts index 067244ce..07ecb638 100644 --- a/src/app/core/transloco/transloco.module.ts +++ b/src/app/core/transloco/transloco.module.ts @@ -23,6 +23,7 @@ import { TranslocoHttpLoader } from 'app/core/transloco/transloco.http-loader'; } ], defaultLang : 'en', + fallbackLang : 'en', reRenderOnLangChange: true, prodMode : environment.production })