diff options
author | andre.schmid <andre.schmid@est.tech> | 2020-03-06 14:42:45 +0000 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-04-27 08:01:07 +0000 |
commit | 4a4d45fadfbb61e8e147f2b62e5dab5ac55403e8 (patch) | |
tree | 1e58f398d370ddcbb249f3a8fdc6659f2e3041bb /catalog-ui/src | |
parent | bebff57a6a661825d26a17813fe4a3230ac6f9db (diff) |
Enabling JS in SonarCloud
Configures jest test coverage and missing sonar
properties for javascript file scan and report.
Change-Id: I9170a176cc4e580ac14f669c334ee949942503f6
Issue-ID: SDC-2741
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-ui/src')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/palette/services/palette.service.spec.ts | 2 | ||||
-rw-r--r-- | catalog-ui/src/tsconfig.json | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/palette/services/palette.service.spec.ts b/catalog-ui/src/app/ng2/pages/composition/palette/services/palette.service.spec.ts index 3a660c1de7..7234c120e8 100644 --- a/catalog-ui/src/app/ng2/pages/composition/palette/services/palette.service.spec.ts +++ b/catalog-ui/src/app/ng2/pages/composition/palette/services/palette.service.spec.ts @@ -23,7 +23,7 @@ describe('palette component', () => { providers: [CompositionPaletteService, {provide: HttpClient, useValue: httpServiceMock}, {provide: SdcConfigToken, useValue: sdcConfigToken}, - {provide: WorkspaceService, useValue{}} + {provide: WorkspaceService, useValue: {}} ] }); diff --git a/catalog-ui/src/tsconfig.json b/catalog-ui/src/tsconfig.json index 81d527b763..af1d58ce1a 100644 --- a/catalog-ui/src/tsconfig.json +++ b/catalog-ui/src/tsconfig.json @@ -5,7 +5,6 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "allowJs": true, - "mapRoot": "./", "module": "commonjs", "moduleResolution": "node", "outDir": "../dist/out-tsc", @@ -13,11 +12,6 @@ "es6", "dom" ], - "paths": { - "@angular/*": [ - "../node_modules/@angular/*" - ] - }, "sourceMap": true, "target": "es5", "typeRoots": [ |