diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-05-30 17:00:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 17:00:27 +0200 |
commit | 0886437f2c333c44542b988425f497f2329a35b4 (patch) | |
tree | d0a4e19231833ebf027699a8aba851512759e8a0 /tests | |
parent | ee9f37c3d6da07747797c06e4ab1524a9eb21e8f (diff) | |
parent | 623293c2ddda8bff2d6f3a1f5895fc47e1fba707 (diff) | |
download | nextcloud-server-0886437f2c333c44542b988425f497f2329a35b4.tar.gz nextcloud-server-0886437f2c333c44542b988425f497f2329a35b4.zip |
Merge pull request #32591 from nextcloud/fix/node-test
Fix node tests ci
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' |