Skip to content

Commit 76462bf

Browse files
committed
test(skills): fail the media-use transcribe test when terminal codes reach the error
1 parent 2424c90 commit 76462bf

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎skills-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"files": 1
5555
},
5656
"media-use": {
57-
"hash": "b1c4684a22795218",
57+
"hash": "74c795cd652f240d",
5858
"files": 101
5959
},
6060
"motion-graphics": {

‎skills/media-use/scripts/transcribe.test.mjs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ test(
7777
const { error } = JSON.parse(res.stdout.trim());
7878
assert.match(error, /hyperframes models install parakeet/);
7979
assert.ok(error.length < 1000, `error is ${error.length} chars`);
80+
assert.ok(!error.includes("\u001b"), `terminal codes left in: ${JSON.stringify(error)}`);
8081
} finally {
8182
rmSync(root, { recursive: true, force: true });
8283
}

0 commit comments

Comments
 (0)