Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/scrollspy.spec.js')
-rw-r--r--js/tests/unit/scrollspy.spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/scrollspy.spec.js b/js/tests/unit/scrollspy.spec.js
index 291654d9be..96ef3aedf1 100644
--- a/js/tests/unit/scrollspy.spec.js
+++ b/js/tests/unit/scrollspy.spec.js
@@ -241,7 +241,7 @@ describe('ScrollSpy', () => {
contentEl,
scrollSpy,
spy,
- cb: () => {
+ cb() {
testElementIsActiveAfterScroll({
elementSelector: '#a-2',
targetSelector: '#div-2',
@@ -283,7 +283,7 @@ describe('ScrollSpy', () => {
contentEl,
scrollSpy,
spy,
- cb: () => {
+ cb() {
testElementIsActiveAfterScroll({
elementSelector: '#a-2',
targetSelector: '#div-2',
@@ -325,7 +325,7 @@ describe('ScrollSpy', () => {
contentEl,
scrollSpy,
spy,
- cb: () => {
+ cb() {
testElementIsActiveAfterScroll({
elementSelector: '#a-2',
targetSelector: '#div-2',