mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Run tests with testem in broccoli watcher
This commit is contained in:
parent
f1fe118c10
commit
572b80c7af
2
.gitignore
vendored
2
.gitignore
vendored
@ -49,6 +49,8 @@ npm-debug.log
|
||||
coverage.xml
|
||||
htmlcov
|
||||
pep8.txt
|
||||
scratch
|
||||
testem.log
|
||||
|
||||
# Mac OS X
|
||||
*.DS_Store
|
||||
|
||||
25
testem.yml
Normal file
25
testem.yml
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
# before_tests: cd ../../.. && sudo make devjs
|
||||
framework: mocha
|
||||
cwd: awx/ui/dist/node-tests
|
||||
src_files:
|
||||
- tests/**.js
|
||||
- static/js/**/*.js
|
||||
- static/lib/**/*.js
|
||||
disable_watching: true
|
||||
serve_files:
|
||||
- ../tower.concat.js
|
||||
- tests/templates.js
|
||||
- tests/test-support.js
|
||||
- tests/unit/**/*.js
|
||||
- tests/unit.js
|
||||
unsafe_file_serving: true
|
||||
routes:
|
||||
/awx/ui/dist: /static
|
||||
launch_in_dev:
|
||||
- Mocha
|
||||
launch_in_ci:
|
||||
- PhantomJS
|
||||
launchers:
|
||||
Mocha:
|
||||
command: NODE_PATH=awx/ui/dist/node-tests ./node_modules/.bin/mocha awx/ui/dist/node-tests/tests/unit/**/*.js
|
||||
Loading…
x
Reference in New Issue
Block a user