diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-25 12:39:08 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-05-30 10:54:45 +0200 |
commit | 623293c2ddda8bff2d6f3a1f5895fc47e1fba707 (patch) | |
tree | ef243b8fd3cc24bd42885a3cca217beda65d7b7f /tests | |
parent | 95f390d36815e6aabfd09b39bbeaed5bf9d46c55 (diff) | |
download | nextcloud-server-623293c2ddda8bff2d6f3a1f5895fc47e1fba707.tar.gz nextcloud-server-623293c2ddda8bff2d6f3a1f5895fc47e1fba707.zip |
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.js | 26 | ||||
-rw-r--r-- | tests/jestSetup.js | 2 |
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' |