diff --git a/projects/ahmed757/ngx-treant-js/karma.conf.js b/projects/ahmed757/ngx-treant-js/karma.conf.js index 9b4fcc8..03d5817 100644 --- a/projects/ahmed757/ngx-treant-js/karma.conf.js +++ b/projects/ahmed757/ngx-treant-js/karma.conf.js @@ -27,10 +27,10 @@ module.exports = function (config) { autoWatch: true, browsers: ['Chrome'], customLaunchers: { - ChromeHeadlessCI: { - base: 'ChromeHeadless', - flags: ['--no-sandbox', '--disable-gpu'] - } + ChromeHeadlessCI: { + base: 'ChromeHeadless', + flags: ['--no-sandbox', '--disable-gpu'], + }, }, singleRun: false, restartOnFileChange: true, diff --git a/projects/ahmed757/ngx-treant-js/src/lib/ngx-treant-js.component.spec.ts b/projects/ahmed757/ngx-treant-js/src/lib/ngx-treant-js.component.spec.ts index d7d3b40..fef21bc 100644 --- a/projects/ahmed757/ngx-treant-js/src/lib/ngx-treant-js.component.spec.ts +++ b/projects/ahmed757/ngx-treant-js/src/lib/ngx-treant-js.component.spec.ts @@ -35,12 +35,12 @@ describe('NgxTreantJsComponent', () => { connectors: { type: 'step', style: { - 'stroke-width': 2 - } + 'stroke-width': 2, + }, }, node: { - HTMLclass: 'test-chart-class' - } + HTMLclass: 'test-chart-class', + }, }, nodeStructure: { text: { name: 'CEO' }, @@ -48,8 +48,8 @@ describe('NgxTreantJsComponent', () => { style: { stroke: '#bbb', 'arrow-end': 'oval-wide-long', - className: 'test' - } + className: 'test', + }, }, children: [ { @@ -67,12 +67,12 @@ describe('NgxTreantJsComponent', () => { HTMLclass: 'reception', }, { - text: { name: 'Author' } - } - ] - } - ] - } + text: { name: 'Author' }, + }, + ], + }, + ], + }, }; fixture.detectChanges(); });