Skip to content

Commit 45f2868

Browse files
authored
Test/console (#115)
* feat(stryker): update to stryker 5.4.1 * test(console): add a usecase to shorttenText
1 parent 82263fa commit 45f2868

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

__tests__/console.service.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ describe('Console Service', () => {
101101
describe('#shortenText', () => {
102102
it('should short text according parameters', () => {
103103
const cases = [
104+
{
105+
cutFrom: 0,
106+
expect: '...',
107+
text: '/sample/text/for/test how/service/split/thisA',
108+
width: 0,
109+
},
104110
{
105111
cutFrom: 10,
106112
expect: '/sample/te.../service/split/this',

0 commit comments

Comments
 (0)