Skip to content

Commit a88b7fd

Browse files
committed
add jasmine test
1 parent 1b5b7e5 commit a88b7fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/jasmine/tests/legend_test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,14 @@ describe('legend interaction', function() {
19151915
Promise.resolve()
19161916
.then(click(0, 2))
19171917
.then(assertVisible([false, true, true, false, 'legendonly', true]))
1918+
1919+
// isolate it
1920+
.then(click(0, 2))
1921+
.then(assertVisible([false, true, 'legendonly', false, 'legendonly', true]))
1922+
1923+
// unhide it again
1924+
.then(click(0, 2))
1925+
.then(assertVisible([false, true, true, false, 'legendonly', true]))
19181926
.then(done, done.fail);
19191927
});
19201928
});

0 commit comments

Comments
 (0)