mirror of https://github.com/Hypfer/Valetudo.git
16 lines
356 B
JavaScript
16 lines
356 B
JavaScript
const MapResetCapability = require("../../../core/capabilities/MapResetCapability");
|
|
|
|
/**
|
|
* @extends MapResetCapability<import("../MockRobot")>
|
|
*/
|
|
class MockMapResetCapability extends MapResetCapability {
|
|
/**
|
|
* @returns {Promise<void>}
|
|
*/
|
|
async reset() {
|
|
this.robot.buildMap();
|
|
}
|
|
}
|
|
|
|
module.exports = MockMapResetCapability;
|