mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
4b5b3de11c
- these agent files are all very similar and should be grouped together - moving them into a subfolder makes the `test/utils` folder a little bit easier to browse
20 lines
603 B
JavaScript
20 lines
603 B
JavaScript
const TestAgent = require('./test-agent');
|
|
|
|
/**
|
|
* NOTE: this class is not doing much at the moment. It's rather a placeholder to test
|
|
* any Ghost API specific functionality, like /.well-known. If there is none in the nearest
|
|
* future, it would make sense to remove it alltogether.
|
|
* @constructor
|
|
* @param {Object} app Ghost express app instance
|
|
* @param {Object} options
|
|
* @param {String} options.apiURL
|
|
* @param {String} options.originURL
|
|
*/
|
|
class GhostAPITestAgent extends TestAgent {
|
|
constructor(app, options) {
|
|
super(app, options);
|
|
}
|
|
}
|
|
|
|
module.exports = GhostAPITestAgent;
|