Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions autotest.watchr
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
def run_all_tests
puts `clear`

Dir["tests/*.js"].each do |file|
puts `node #{file}`
end
=begin
puts `node tests/test-constants.js`
puts `node tests/test-headers.js`
puts `node tests/test-request.js`
puts `node tests/test-request-methods.js`
puts `node tests/test-request-protocols.js`
puts `node tests/test-streaming.js`
=end
end
watch('.*.js') { run_all_tests }
watch('.*.js') {run_all_tests}
run_all_tests
Loading