Skip to content

Commit 1c270fa

Browse files
committed
misc
1 parent d94531f commit 1c270fa

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

frontend/javascripts/libs/drawing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class Drawing {
206206
while (ranges.length) {
207207
const r = ranges.pop();
208208
if (r == null) {
209-
throw new Error("Array is exptected to be not empty.");
209+
throw new Error("Array is expected to be not empty.");
210210
}
211211
let minX = r[0];
212212
let maxX = r[1];

frontend/javascripts/test/model/transformed_section_labeler.spec.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ describe("TransformedSectionLabeler", () => {
171171
]);
172172
});
173173

174-
// Does not work yet
174+
// Todo #8965. Does not work yet
175175
it.skip("[L4] Rotation by 90deg around all axes should be handled correctly", async () => {
176176
const coordinateTransformations = [
177177
{
@@ -231,15 +231,15 @@ describe("TransformedSectionLabeler", () => {
231231
false,
232232
[0, 1],
233233
]);
234-
// expect(mapTransformedPlane("PLANE_YZ", rotationalTransform)).toEqual([
235-
// "PLANE_XY",
236-
// false,
237-
// [2, 1],
238-
// ]);
239-
// expect(mapTransformedPlane("PLANE_XZ", rotationalTransform)).toEqual([
240-
// "PLANE_XZ",
241-
// true,
242-
// [2, 0],
243-
// ]);
234+
expect(mapTransformedPlane("PLANE_YZ", rotationalTransform)).toEqual([
235+
"PLANE_XY",
236+
false,
237+
[2, 1],
238+
]);
239+
expect(mapTransformedPlane("PLANE_XZ", rotationalTransform)).toEqual([
240+
"PLANE_XZ",
241+
true,
242+
[2, 0],
243+
]);
244244
});
245245
});

0 commit comments

Comments
 (0)