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:
authorXhmikosR <xhmikosr@gmail.com>2022-02-15 09:50:37 +0300
committerGitHub <noreply@github.com>2022-02-15 09:50:37 +0300
commit42da2b95566fe0377543120698e242f4756f648e (patch)
treeed4b780cd5cfed87a7fb99dad954a3005bd9c432 /js/tests/unit/util/swipe.spec.js
parentd568e029dac04b50305000df4c1bf33cac7db64a (diff)
Update devDependencies (#35841)
* Update devDependencies * @babel/core ^7.17.0 → ^7.17.2 * @rollup/plugin-replace ^3.0.1 → ^3.1.0 * eslint ^8.8.0 → ^8.9.0 * eslint-config-xo ^0.39.0 → ^0.40.0 * hugo-bin ^0.80.1 → ^0.80.2 * karma ^6.3.15 → ^6.3.16 * rollup ^2.67.1 → ^2.67.2 * Fix new ESLint errors
Diffstat (limited to 'js/tests/unit/util/swipe.spec.js')
-rw-r--r--js/tests/unit/util/swipe.spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/util/swipe.spec.js b/js/tests/unit/util/swipe.spec.js
index 054aab6958..614f83e538 100644
--- a/js/tests/unit/util/swipe.spec.js
+++ b/js/tests/unit/util/swipe.spec.js
@@ -85,7 +85,7 @@ describe('Swipe', () => {
defineDocumentElementOntouchstart()
// eslint-disable-next-line no-new
new Swipe(swipeEl, {
- leftCallback: () => {
+ leftCallback() {
expect(spyRight).not.toHaveBeenCalled()
restorePointerEvents()
resolve()
@@ -107,7 +107,7 @@ describe('Swipe', () => {
defineDocumentElementOntouchstart()
// eslint-disable-next-line no-new
new Swipe(swipeEl, {
- rightCallback: () => {
+ rightCallback() {
expect(spyLeft).not.toHaveBeenCalled()
restorePointerEvents()
resolve()
@@ -190,7 +190,7 @@ describe('Swipe', () => {
defineDocumentElementOntouchstart()
// eslint-disable-next-line no-new
new Swipe(swipeEl, {
- rightCallback: () => {
+ rightCallback() {
deleteDocumentElementOntouchstart()
expect().nothing()
resolve()
@@ -215,7 +215,7 @@ describe('Swipe', () => {
defineDocumentElementOntouchstart()
// eslint-disable-next-line no-new
new Swipe(swipeEl, {
- leftCallback: () => {
+ leftCallback() {
expect().nothing()
deleteDocumentElementOntouchstart()
resolve()