Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Oct 31, 2022
1 parent 902adde commit 2bb066a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/test/stackViewport_gpu_render_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ describe('renderingCore -- Stack', () => {
}
});

it('Should be able to flip a stack viewport horizontally and rotate it', function (done) {
it('Should be able to flip a stack viewport vertically and rotate it', function (done) {
const element = createViewport(this.renderingEngine, AXIAL, 256, 256);
this.DOMElements.push(element);

Expand All @@ -971,9 +971,9 @@ describe('renderingCore -- Stack', () => {
rotation: 90,
});

vp.setCamera({ flipHorizontal: true });

vp.render();

vp.setCamera({ flipVertical: true });
});
} catch (e) {
done.fail(e);
Expand Down

0 comments on commit 2bb066a

Please sign in to comment.