Compare commits

..

2 Commits

Author SHA1 Message Date
Corentin Sechet 38517477cc ci: run javascript unit tests on Jenkins (#75133)
gitea/gadjo/pipeline/head This commit looks good Details
2023-03-07 17:31:28 +01:00
Corentin Sechet 6bd04d8e4a js: integrate jest and jsdom (#75131)
gitea/gadjo/pipeline/head This commit looks good Details
2023-03-07 17:27:20 +01:00
4 changed files with 4074 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/dist
/gadjo.egg-info
/gadjo/static/css/icons
node_modules

4062
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

10
package.json Normal file
View File

@ -0,0 +1,10 @@
{
"scripts": {
"test": "jest"
},
"devDependencies": {
"jest": "^29.5.0",
"jquery": "^3.6.3",
"jsdom": "^21.1.0"
}
}

View File

@ -3,5 +3,5 @@ set -e
pip install nodeenv
nodeenv --python-virtualenv --prebuilt
npm install -g --no-package-lock --no-save jest jsdom jquery
npm clean-install
pip install $*