Skip to content

Commit c932f34

Browse files
committed
Update NodeJS example test runner
1 parent 2a6fe5f commit c932f34

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

integrations/node_js/server.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ var app = express();
55
var exec = require('child_process').exec;
66

77
function run_my_first_test_in_firefox() {
8-
exec("nosetests my_first_test.py --with-selenium --browser=firefox");
8+
exec("nosetests my_first_test.py --browser=firefox");
99
}
1010

1111
function run_my_first_test_in_chrome() {
12-
exec("nosetests my_first_test.py --with-selenium --browser=chrome");
12+
exec("nosetests my_first_test.py --browser=chrome");
1313
}
1414

1515
function run_my_first_test_in_firefox_with_demo_mode() {
16-
exec("nosetests my_first_test.py --with-selenium --browser=firefox --demo_mode");
16+
exec("nosetests my_first_test.py --browser=firefox --demo_mode");
1717
}
1818

1919
function run_my_first_test_in_chrome_with_demo_mode() {
20-
exec("nosetests my_first_test.py --with-selenium --browser=chrome --demo_mode");
20+
exec("nosetests my_first_test.py --browser=chrome --demo_mode");
2121
}
2222

2323
app.get('/', function(req, res) {
@@ -49,6 +49,5 @@ app.get('/run_my_first_test_in_chrome_with_demo_mode', function(req, res) {
4949
})
5050

5151
app.listen(3000, "127.0.0.1", function() {
52-
console.log('Server running at http://127.0.0.1:3000/');
52+
console.log('Server running at http://127.0.0.1:3000/ (CTRL-C to stop)');
5353
});
54-

0 commit comments

Comments
 (0)