Skip to content

Commit a96ae8a

Browse files
authored
Update utils.test.js
1 parent 471e601 commit a96ae8a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/utils.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ test('Vertex Angles counterclockwise', () => {
109109
expect(BuildingShapeUtils.vertexAngle(rightTriangle2)).toStrictEqual([-Math.PI / 2, -Math.PI / 4, -Math.PI / 4]);
110110
});
111111

112-
describe('Surrounds', () => {
113-
test.each([
114-
[[-1, -1], false, 'Outside'],
115-
[[1, 1], true, 'Border'],
116-
[[.5, .5], true, 'Inside'],
117-
])(`${description}`, (point, expected, description) => {
112+
describe.each([
113+
[[-1, -1], false, 'Outside'],
114+
[[1, 1], true, 'Border'],
115+
[[.5, .5], true, 'Inside'],
116+
])('Surrounds', (point, expected, description) => {
117+
test(`${description}`, () => {
118118
expect(BuildingShapeUtils.surrounds(rightTriangle, point)).toBe(expected);
119119
});
120120
});

0 commit comments

Comments
 (0)