]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
test: fix Drilldown test for the "closed.zf.drilldown" event
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 23 Oct 2018 20:41:10 +0000 (22:41 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 23 Oct 2018 20:41:10 +0000 (22:41 +0200)
commitac54c3e157750dc83765fcc5a2e7a9896a91d160
treea2daaa67ded75712c0e7e1d99eafc26c2df324bc
parentdf59e4ccf9857393af4cddea770a3c1898677060
test: fix Drilldown test for the "closed.zf.drilldown" event

- Remove unecessary event layers (`close.zf.drilldown` is already tested)
- Expect "is-closed" and "is-active" NOT to be present.
- Avoir calling `done()` several times. Call `done()` after all testes passed.
test/javascript/components/drilldown.js