Skip to content

Commit

Permalink
update specs for 6dea2a5
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Nov 28, 2024
1 parent 6dea2a5 commit e15cf92
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/test-auto-animate.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,6 @@ <h1>Non-auto-animate slide</h1>
Reveal.configure({ autoAnimate: true });
});

QUnit.test( 'Carries forward matching fragment visibility', assert => {
Reveal.slide(4);
assert.ok( !slides[5].h1.classList.contains( 'visible' ) )
Reveal.next();
Reveal.next();
Reveal.next();
assert.ok( slides[5].h1.classList.contains( 'visible' ) )
assert.ok( slides[5].h2.classList.contains( 'visible' ) )
assert.ok( !slides[5].h3.classList.contains( 'visible' ) )
Reveal.next();
assert.ok( slides[5].h3.classList.contains( 'visible' ) )
Reveal.next();
assert.ok( slides[6].slide === Reveal.getCurrentSlide() )
});

QUnit.test( 'Slide specific data-auto-animate-duration', assert => {
assert.timeout( 400 );
assert.expect( 1 );
Expand Down

0 comments on commit e15cf92

Please sign in to comment.