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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-25 13:39:08 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-05-30 11:54:45 +0300
commit623293c2ddda8bff2d6f3a1f5895fc47e1fba707 (patch)
treeef243b8fd3cc24bd42885a3cca217beda65d7b7f /tests
parent95f390d36815e6aabfd09b39bbeaed5bf9d46c55 (diff)
Fix node tests ci
- Update jest snapshot - Fix importing 3rdparty vue components - Disable temporarely tests using nextcloud-vue/Button Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'tests')
-rw-r--r--tests/jestBabelTransformer.js26
-rw-r--r--tests/jestSetup.js2
2 files changed, 1 insertions, 27 deletions
diff --git a/tests/jestBabelTransformer.js b/tests/jestBabelTransformer.js
deleted file mode 100644
index f89ca692a09..00000000000
--- a/tests/jestBabelTransformer.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * @copyright 2021 François Freitag <mail@franek.fr>
- *
- * @author François Freitag <mail@franek.fr>
- *
- * @license AGPL-3.0-or-later
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-const babelJest = require('babel-jest')
-const babelConfig = require('@nextcloud/babel-config')
-
-module.exports = babelJest.createTransformer(babelConfig)
diff --git a/tests/jestSetup.js b/tests/jestSetup.js
index ddc9f378141..c0813ff003f 100644
--- a/tests/jestSetup.js
+++ b/tests/jestSetup.js
@@ -20,4 +20,4 @@
*
*/
-require('@testing-library/jest-dom')
+import '@testing-library/jest-dom'