File: autotest.watchr

package info (click to toggle)
node-xmlhttprequest 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 260 kB
  • sloc: javascript: 2,176; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
def run_all_tests
    puts `clear`
    puts `node tests/test-constants.js`
    puts `node tests/test-headers.js`
    puts `node tests/test-request.js`
end
watch('.*.js') { run_all_tests }
run_all_tests