Skip to content

Commit d46a9f7

Browse files
committed
chore: Applying prettier over test files
1 parent 22cf44c commit d46a9f7

14 files changed

+899
-861
lines changed
Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Alignment } from '../../../src/libs/common/alignment.enum'
2-
import { ContentBox } from '../../../src/libs/engine/layout_engine/builder/groups/content_box/content_box'
3-
import { Direction } from '../../../src/libs/common/distribution.enum'
1+
import { Alignment } from '../../../src/libs/common/alignment.enum';
2+
import { ContentBox } from '../../../src/libs/engine/layout_engine/builder/groups/content_box/content_box';
3+
import { Direction } from '../../../src/libs/common/distribution.enum';
44

55
describe('Content Box', () => {
66
describe('Row - Top Label', function() {
@@ -13,22 +13,22 @@ describe('Content Box', () => {
1313
5, () => {
1414
}, () => {
1515
},
16-
)
16+
);
1717

1818
it('Should initialize and update main length content box reference', async () => {
19-
contentBox.setWidth(100)
19+
contentBox.setWidth(100);
2020

21-
expect(contentBox.getDimension().getLeftBoundary()).toBe(5)
22-
expect(contentBox.getDimension().getRightBoundary()).toBe(105)
23-
})
21+
expect(contentBox.getDimension().getLeftBoundary()).toBe(5);
22+
expect(contentBox.getDimension().getRightBoundary()).toBe(105);
23+
});
2424

2525
it('Should initialize and update cross length content box reference', async () => {
26-
contentBox.setHeight(100)
26+
contentBox.setHeight(100);
2727

28-
expect(contentBox.getDimension().getTopBoundary()).toBe(25)
29-
expect(contentBox.getDimension().getBottomBoundary()).toBe(125)
30-
})
31-
})
28+
expect(contentBox.getDimension().getTopBoundary()).toBe(25);
29+
expect(contentBox.getDimension().getBottomBoundary()).toBe(125);
30+
});
31+
});
3232

3333
describe('Row - Lateral Label', function() {
3434
const contentBox = new ContentBox(
@@ -40,22 +40,22 @@ describe('Content Box', () => {
4040
5, () => {
4141
}, () => {
4242
},
43-
)
43+
);
4444

4545
it('Should initialize and update main length content box reference', async () => {
46-
contentBox.setWidth(100)
46+
contentBox.setWidth(100);
4747

48-
expect(contentBox.getDimension().getLeftBoundary()).toBe(45)
49-
expect(contentBox.getDimension().getRightBoundary()).toBe(145)
50-
})
48+
expect(contentBox.getDimension().getLeftBoundary()).toBe(45);
49+
expect(contentBox.getDimension().getRightBoundary()).toBe(145);
50+
});
5151

5252
it('Should initialize and update cross length content box reference', async () => {
53-
contentBox.setHeight(100)
53+
contentBox.setHeight(100);
5454

55-
expect(contentBox.getDimension().getTopBoundary()).toBe(5)
56-
expect(contentBox.getDimension().getBottomBoundary()).toBe(105)
57-
})
58-
})
55+
expect(contentBox.getDimension().getTopBoundary()).toBe(5);
56+
expect(contentBox.getDimension().getBottomBoundary()).toBe(105);
57+
});
58+
});
5959

6060
describe('Col - Top Label', function() {
6161
const contentBox = new ContentBox(
@@ -67,22 +67,22 @@ describe('Content Box', () => {
6767
5, () => {
6868
}, () => {
6969
},
70-
)
70+
);
7171

7272
it('Should initialize and update main length content box reference', async () => {
73-
contentBox.setWidth(100)
73+
contentBox.setWidth(100);
7474

75-
expect(contentBox.getDimension().getLeftBoundary()).toBe(5)
76-
expect(contentBox.getDimension().getRightBoundary()).toBe(105)
77-
})
75+
expect(contentBox.getDimension().getLeftBoundary()).toBe(5);
76+
expect(contentBox.getDimension().getRightBoundary()).toBe(105);
77+
});
7878

7979
it('Should initialize and update cross length content box reference', async () => {
80-
contentBox.setHeight(100)
80+
contentBox.setHeight(100);
8181

82-
expect(contentBox.getDimension().getTopBoundary()).toBe(25)
83-
expect(contentBox.getDimension().getBottomBoundary()).toBe(125)
84-
})
85-
})
82+
expect(contentBox.getDimension().getTopBoundary()).toBe(25);
83+
expect(contentBox.getDimension().getBottomBoundary()).toBe(125);
84+
});
85+
});
8686

8787
describe('Col - Lateral Label', function() {
8888
const contentBox = new ContentBox(
@@ -96,20 +96,20 @@ describe('Content Box', () => {
9696
},
9797
() => {
9898
},
99-
)
99+
);
100100

101101
it('Should initialize and update main length content box reference', async () => {
102-
contentBox.setWidth(100)
102+
contentBox.setWidth(100);
103103

104-
expect(contentBox.getDimension().getLeftBoundary()).toBe(45)
105-
expect(contentBox.getDimension().getRightBoundary()).toBe(145)
106-
})
104+
expect(contentBox.getDimension().getLeftBoundary()).toBe(45);
105+
expect(contentBox.getDimension().getRightBoundary()).toBe(145);
106+
});
107107

108108
it('Should initialize and update cross length content box reference', async () => {
109-
contentBox.setHeight(100)
109+
contentBox.setHeight(100);
110110

111-
expect(contentBox.getDimension().getTopBoundary()).toBe(5)
112-
expect(contentBox.getDimension().getBottomBoundary()).toBe(105)
113-
})
114-
})
115-
})
111+
expect(contentBox.getDimension().getTopBoundary()).toBe(5);
112+
expect(contentBox.getDimension().getBottomBoundary()).toBe(105);
113+
});
114+
});
115+
});

0 commit comments

Comments
 (0)