Skip to content
Snippets Groups Projects
Commit 5e0b042c authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

SSDM-13270 : Admin UI - update libraries - fix tests

parent b2823227
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
/* eslint-disable-next-line no-undef */ /* eslint-disable-next-line no-undef */
module.exports = function(api) { module.exports = function (api) {
api.cache(true) api.cache(true)
const presets = ['@babel/preset-env', '@babel/preset-react'] const presets = ['@babel/preset-env', '@babel/preset-react']
......
/* eslint-disable-next-line no-undef */ /* eslint-disable-next-line no-undef */
module.exports = { module.exports = {
testURL: 'http://localhost/#/', testEnvironment: 'jsdom',
testEnvironmentOptions: { url: 'http://localhost/#/' },
reporters: [ reporters: [
'default', 'default',
[ [
...@@ -34,5 +35,6 @@ module.exports = { ...@@ -34,5 +35,6 @@ module.exports = {
'^@srcTest/(.*)$': '<rootDir>/srcTest/$1', '^@srcTest/(.*)$': '<rootDir>/srcTest/$1',
'^@srcV3/(.*)$': '<rootDir>/srcV3/$1' '^@srcV3/(.*)$': '<rootDir>/srcV3/$1'
}, },
transformIgnorePatterns: ['<rootDir>/node_modules/(?!auto-bind)'],
slowTestThreshold: 30 slowTestThreshold: 30
} }
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"jest": "^29.3.1", "jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-junit": "^15.0.0", "jest-junit": "^15.0.0",
"prettier": "^2.8.1", "prettier": "^2.8.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment