mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
refactor(core): normalize core service naming
Standardize core service module and export names to reduce naming ambiguity and make imports predictable across runtime, tests, scripts, and docs.
This commit is contained in:
@@ -342,7 +342,6 @@ test("handleCliCommand runs AniList retry command", async () => {
|
|||||||
assert.ok(calls.includes("retryAnilistQueue"));
|
assert.ok(calls.includes("retryAnilistQueue"));
|
||||||
assert.ok(calls.includes("log:AniList retry processed."));
|
assert.ok(calls.includes("log:AniList retry processed."));
|
||||||
});
|
});
|
||||||
|
|
||||||
test("handleCliCommand runs refresh-known-words command", () => {
|
test("handleCliCommand runs refresh-known-words command", () => {
|
||||||
const { deps, calls } = createDeps();
|
const { deps, calls } = createDeps();
|
||||||
|
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ test("handleMineSentenceDigit reports async create failures", async () => {
|
|||||||
assert.equal(cardsMined, 0);
|
assert.equal(cardsMined, 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("handleMineSentenceDigitService increments successful card count", async () => {
|
test("handleMineSentenceDigit increments successful card count", async () => {
|
||||||
const osd: string[] = [];
|
const osd: string[] = [];
|
||||||
let cardsMined = 0;
|
let cardsMined = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -112,8 +112,8 @@ import {
|
|||||||
loadYomitanExtension as loadYomitanExtensionCore,
|
loadYomitanExtension as loadYomitanExtensionCore,
|
||||||
markLastCardAsAudioCard as markLastCardAsAudioCardCore,
|
markLastCardAsAudioCard as markLastCardAsAudioCardCore,
|
||||||
DEFAULT_MPV_SUBTITLE_RENDER_METRICS,
|
DEFAULT_MPV_SUBTITLE_RENDER_METRICS,
|
||||||
mineSentenceCard as mineSentenceCardCore,
|
|
||||||
ImmersionTrackerService,
|
ImmersionTrackerService,
|
||||||
|
mineSentenceCard as mineSentenceCardCore,
|
||||||
openYomitanSettingsWindow,
|
openYomitanSettingsWindow,
|
||||||
playNextSubtitleRuntime,
|
playNextSubtitleRuntime,
|
||||||
registerGlobalShortcuts as registerGlobalShortcutsCore,
|
registerGlobalShortcuts as registerGlobalShortcutsCore,
|
||||||
|
|||||||
Reference in New Issue
Block a user