()
| 1282 | }) |
| 1283 | |
| 1284 | const mkConfig = () => |
| 1285 | createTuiResolvedConfig({ |
| 1286 | plugin: [[tmp.extra.spec, { theme_path: `./theme-update.json` }]], |
| 1287 | plugin_origins: [ |
| 1288 | { |
| 1289 | spec: [tmp.extra.spec, { theme_path: `./theme-update.json` }], |
| 1290 | scope: "local", |
| 1291 | source: path.join(tmp.path, "tui.json"), |
| 1292 | }, |
| 1293 | ], |
| 1294 | }) |
| 1295 | |
| 1296 | try { |
| 1297 | await TuiPluginRuntime.init({ api: mkApi(), config: mkConfig() }) |
no test coverage detected