mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
Enhance AniList character dictionary sync and subtitle features (#15)
This commit is contained in:
1 parent
2f07c3407a
commit
e18985fb14
696 files changed
+14297
-173564
No files matched your search
@@ -50,3 +50,11 @@ test('parseArgs maps mpv idle action', () => {
|
||||
assert.equal(parsed.mpvIdle, true);
|
||||
assert.equal(parsed.mpvStatus, false);
|
||||
});
|
||||
|
||||
test('parseArgs maps dictionary command and log-level override', () => {
|
||||
const parsed = parseArgs(['dictionary', '.', '--log-level', 'debug'], 'subminer', {});
|
||||
|
||||
assert.equal(parsed.dictionary, true);
|
||||
assert.equal(parsed.dictionaryTarget, process.cwd());
|
||||
assert.equal(parsed.logLevel, 'debug');
|
||||
});
|
||||
Reference in new issue
Block a user