Compare commits
2 Commits
38517477cc
...
3c59b53ab1
Author | SHA1 | Date |
---|---|---|
Corentin Sechet | 3c59b53ab1 | |
Corentin Sechet | f611c731bd |
File diff suppressed because it is too large
Load Diff
|
@ -3,8 +3,8 @@
|
|||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^29.5.0",
|
||||
"jest": "^28.1.3",
|
||||
"jquery": "^3.6.3",
|
||||
"jsdom": "^21.1.0"
|
||||
"jsdom": "^19.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
pip install nodeenv
|
||||
nodeenv --python-virtualenv --prebuilt
|
||||
npm clean-install
|
||||
pip install $*
|
9
tox.ini
9
tox.ini
|
@ -1,15 +1,14 @@
|
|||
[tox]
|
||||
envlist = codestyle-pylint, jest
|
||||
envlist = codestyle-pylint, test
|
||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/gadjo/{env:BRANCH_NAME:}
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = bash
|
||||
whitelist_externals = npm
|
||||
deps =
|
||||
codestyle: pre-commit
|
||||
pylint: pylint
|
||||
pylint: pylint-django
|
||||
install_command =
|
||||
jest: bash setup-node.sh {opts} {packages}
|
||||
commands =
|
||||
codestyle: pre-commit run --all-files --show-diff-on-failure
|
||||
jest: npx jest
|
||||
test: npm clean-install
|
||||
test: npm test
|
||||
|
|
Loading…
Reference in New Issue