1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-08 23:07:32 +02:00
Files
joplin/packages/app-mobile/components/screens/ConfigScreen/plugins/testUtils/pluginServiceSetup.js
2025-09-04 17:43:49 +02:00

15 lines
596 B
JavaScript

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const PluginService_1 = require('@joplin/lib/services/plugins/PluginService');
const BasePluginRunner_1 = require('@joplin/lib/services/plugins/BasePluginRunner');
class MockPluginRunner extends BasePluginRunner_1.default {
async run() { }
async stop() { }
}
const pluginServiceSetup = (store) => {
const runner = new MockPluginRunner();
PluginService_1.default.instance().initialize('2.14.0', { joplin: {} }, runner, store);
};
exports.default = pluginServiceSetup;
// # sourceMappingURL=pluginServiceSetup.js.map