Skip to content

Commit 22174c2

Browse files
author
Niklas Kiefer
committed
test(selection): adjust marker tests
1 parent 231daa4 commit 22174c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/spec/features/selection/SelectionVisualsSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import selectionModule from 'lib/features/selection';
77

88
import {
9-
query as domQuery
9+
matches
1010
} from 'min-dom';
1111

1212

@@ -63,9 +63,9 @@ describe('features/selection/SelectionVisuals', function() {
6363

6464
// then
6565
var gfx = canvas.getGraphics(connection),
66-
outline = domQuery('.djs-outline', gfx);
66+
hasOutline = matches(gfx, '.selected');
6767

68-
expect(outline).to.exist;
68+
expect(hasOutline).to.be.true;
6969
}));
7070

7171
});

0 commit comments

Comments
 (0)