mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
178e7db066
refs https://github.com/TryGhost/Toolbox/issues/214 - The constructor logic was duplicated across test agents, so made sence to extract the logic into a common class
20 lines
594 B
JavaScript
20 lines
594 B
JavaScript
const TestAgent = require('./test-agent');
|
|
|
|
/**
|
|
* NOTE: this class is not doing much at the moment. It's rather a placeholder to put
|
|
* any Members API specific functionality into. 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 MembersAPITestAgent extends TestAgent {
|
|
constructor(app, options) {
|
|
super(app, options);
|
|
}
|
|
}
|
|
|
|
module.exports = MembersAPITestAgent;
|