Skip to content

Commit

Permalink
fix: added tests and updated README file
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed.alatawi committed Jul 20, 2020
1 parent db90913 commit cb5d84d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions projects/ahmed757/ngx-treant-js/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ 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' },
connectors: {
style: {
stroke: '#bbb',
'arrow-end': 'oval-wide-long',
className: 'test'
}
className: 'test',
},
},
children: [
{
Expand All @@ -67,12 +67,12 @@ describe('NgxTreantJsComponent', () => {
HTMLclass: 'reception',
},
{
text: { name: 'Author' }
}
]
}
]
}
text: { name: 'Author' },
},
],
},
],
},
};
fixture.detectChanges();
});
Expand Down

0 comments on commit cb5d84d

Please sign in to comment.