Skip to content

Commit

Permalink
removes broken and obsolete JS test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Dec 17, 2020
1 parent dfe3b5f commit 3e73d75
Show file tree
Hide file tree
Showing 41 changed files with 25 additions and 2,191 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"env": {
"browser": true,
"es6": true,
"mocha": true
"es6": true
},
"plugins": [
"react"
Expand Down
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,3 @@ script:
- if [ "$DIFF" != '' ]; then node_modules/.bin/eslint --ext js --ext jsx `echo "$DIFF" | grep 'Resources/modules/.\+\.js' | tr '\n' ' '`; fi
# launch php tests
- SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/simple-phpunit --dont-report-useless-tests
# launch js tests
# FIXME : enable JS test suite when fixed
# - $ROOT/node_modules/.bin/karma start --single-run
57 changes: 0 additions & 57 deletions karma.conf.js

This file was deleted.

53 changes: 17 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,34 @@
"scripts": {
"themes": "node src/main/core/Resources/server/themes/bin build",
"webpack": "node_modules/.bin/webpack --config=webpack.config.prod.js --progress --bail",
"webpack:dev": "node_modules/.bin/webpack-dev-server --config=webpack.config.dev.js --color",
"webpack:test": "node_modules/.bin/webpack --config=webpack.config.test.js --progress --bail",
"karma": "node_modules/.bin/karma start karma.conf.js",
"coverage": "npm run karma -- --single-run --reporters=coverage"
"webpack:dev": "node_modules/.bin/webpack-dev-server --config=webpack.config.dev.js --color"
},
"dependencies": {
"assets-webpack-plugin": "3.9.7",
"autoprefixer": "^8.5.0",
"@babel/core": "^7.4.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-react": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"babel-loader": "^8.0.0",
"bootstrap": "^3.4.1",
"classnames": "^2.2.5",
"codemirror": "^5.34.0",
"core-js": "^3.0.1",
"cssnano": "^4.1",
"d3": "^4.4.0",
"html-react-parser": "^0.9.1",
"html2pdf.js": "^0.9.1",
"invariant": "^2.2.4",
"@fortawesome/fontawesome-free": "^5",
"jquery": "2.2.4",
"jsplumb": "^2.2.11",
"less": "3.0.4",
"lodash": "^4.17.11",
"mathjax": "2.7.4",
"moment": "^2.24.0",
"pdfjs-dist": "1.4.133",
"postcss-cli": "^2.5.0",
"prop-types": "^15.7.2",
"react": "^16.7.0",
"react-bootstrap": "^0.31.2",
Expand All @@ -45,6 +52,7 @@
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"shelljs": "^0.5.3",
"svg4everybody": "^2.1.2",
"swagger-ui-react": "3.23.11",
"tinycolor2": "^1.4.1",
Expand All @@ -53,45 +61,18 @@
"uuid": "^3.3.2",
"video.js": "7.7.4",
"wavesurfer.js": "2.2.1",
"whatwg-fetch": "^2.0.1",
"ajv": "^6.0.0",
"assets-webpack-plugin": "3.9.7",
"autoprefixer": "^8.5.0",
"@babel/core": "^7.4.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-react": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"babel-loader": "^8.0.0",
"cssnano": "^4.1",
"less": "3.0.4",
"postcss-cli": "^2.5.0",
"shelljs": "^0.5.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.0.0"
"webpack-cli": "^3.0.0",
"whatwg-fetch": "^2.0.1"
},
"files": [
"package.json"
],
"devDependencies": {
"assert": "^1.4.1",
"circular-dependency-plugin": "^4",
"deep-freeze": "0.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^4.18.2",
"eslint-plugin-react": "^7.12.3",
"json-diff": "^0.5.2",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-sinon": "^1.0.5",
"karma-webpack": "^4.0.0-rc.5",
"mocha": "^5.0.1",
"react-test-renderer": "^16.7.0",
"redux-freeze": "^0.1.5",
"redux-mock-store": "^1.5.1",
"sinon": "^4.4.2",
"eslint": "^7.15.0",
"eslint-plugin-react": "^7.21.5",
"redux-freeze": "^0.1.7",
"webpack-dev-server": "^3.1.14",
"webpack-notifier": "^1.6.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {API_REQUEST, url} from '#/main/app/api'
import {makeActionCreator} from '#/main/app/store/actions'
import {actions as listActions} from '#/main/app/content/list/store/actions'

import {selectors} from '#/integration/big-blue-button/integration/bbb/store'
import {selectors} from '#/integration/big-blue-button/integration/bbb/store/selectors'

export const MEETINGS_UPDATE = 'MEETINGS_UPDATE'
export const MEETINGS_SET_LOADED = 'MEETINGS_SET_LOADED'
Expand Down
33 changes: 0 additions & 33 deletions src/main/app/Resources/modules/content/components/help.test.js

This file was deleted.

This file was deleted.

52 changes: 0 additions & 52 deletions src/main/app/Resources/modules/data/components/error.test.js

This file was deleted.

Loading

0 comments on commit 3e73d75

Please # to comment.