| 1 |
/** |
| 2 |
* Example configuration for the testreduce client.js script |
| 3 |
* Copy this file to config.js and change the values as needed. |
| 4 |
*/ |
| 5 |
|
| 6 |
'use strict'; |
| 7 |
|
| 8 |
var path = require('path'); |
| 9 |
|
| 10 |
(function() { |
| 11 |
if (typeof module === 'object') { |
| 12 |
module.exports = { |
| 13 |
server: { |
| 14 |
// The address of the primary HTTP server (for getting titles and posting results) (no protocol) |
| 15 |
host: 'localhost', |
| 16 |
|
| 17 |
// The port where the server is running |
| 18 |
port: 8002, |
| 19 |
}, |
| 20 |
|
| 21 |
// A unique name for this client (optional) (URL-safe characters only) |
| 22 |
clientName: 'Parsoid RT testing client', |
| 23 |
|
| 24 |
// Only one of these should be necessary. |
| 25 |
opts: { |
| 26 |
// The parsoid API to use. If null, all your rt tests will fail! |
| 27 |
parsoidURL: null, |
| 28 |
}, |
| 29 |
|
| 30 |
runTest: require('./rtTestWrapper.js').runRoundTripTest, |
| 31 |
|
| 32 |
// Path of the git repo |
| 33 |
gitRepoPath: path.resolve(__dirname, '../..'), |
| 34 |
}; |
| 35 |
} |
| 36 |
}()); |