aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/offcanvas.spec.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-09-03 17:43:05 +0300
committerXhmikosR <[email protected]>2021-09-03 17:44:35 +0300
commit53c35886753666a6050907e1dea7903442ed7c66 (patch)
tree9a6462b0117c3e2c684f74f69b02b426ffe4dd87 /js/tests/unit/offcanvas.spec.js
parentde9715d4a92fb79874b30c0c38b14a851d0fe1ac (diff)
downloadbootstrap-main-xmr-eslint-plugin-jasmine.tar.xz
bootstrap-main-xmr-eslint-plugin-jasmine.zip
Diffstat (limited to 'js/tests/unit/offcanvas.spec.js')
-rw-r--r--js/tests/unit/offcanvas.spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tests/unit/offcanvas.spec.js b/js/tests/unit/offcanvas.spec.js
index ecbb710a5..e8542ddf6 100644
--- a/js/tests/unit/offcanvas.spec.js
+++ b/js/tests/unit/offcanvas.spec.js
@@ -156,6 +156,7 @@ describe('Offcanvas', () => {
expect(offCanvas._config.scroll).toEqual(false)
})
})
+
describe('options', () => {
it('if scroll is enabled, should allow body to scroll while offcanvas is open', done => {
fixtureEl.innerHTML = '<div class="offcanvas"></div>'