mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-03 11:21:53 +00:00
test(cmd-backup): fix unused variable in test
- Remove unused `manifest` variable from destructuring in `test/cmd-backup.test.mjs` to resolve ESLint error. - Verified fix with `npm run lint`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
7e08a432cc
commit
1cd03f3d90
1 file changed
+1
-1
@@ -27,7 +27,7 @@ test('cmdBackup creates backup directory and manifest', async () => {
|
||||
fs.mkdirSync(cwd, { recursive: true });
|
||||
setupStateFiles(cwd);
|
||||
|
||||
const { backupDir, manifest } = await cmdBackup({ cwd });
|
||||
const { backupDir } = await cmdBackup({ cwd });
|
||||
|
||||
assert.ok(fs.existsSync(backupDir), 'Backup directory created');
|
||||
assert.ok(fs.existsSync(path.join(backupDir, 'backup-manifest.json')), 'Manifest created');
|
||||
|
||||
Reference in new issue
Block a user