Skip to content

Commit e9d3aa8

Browse files
committed
test(skills): isolate audio metadata CLI credentials
1 parent 4781396 commit e9d3aa8

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎skills-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"files": 12
5151
},
5252
"media-use": {
53-
"hash": "26b4c8bd87432088",
53+
"hash": "a397849a32047f7e",
5454
"files": 156
5555
},
5656
"motion-graphics": {

‎skills/media-use/audio/scripts/lib/audio-meta.test.mjs‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,15 @@ test("CLI partial run retains unselected voices, BGM and SFX", (t) => {
120120
"--only",
121121
"none",
122122
],
123-
{ encoding: "utf8" },
123+
{
124+
encoding: "utf8",
125+
env: {
126+
...process.env,
127+
HEYGEN_CONFIG_DIR: dir,
128+
HEYGEN_API_KEY: "",
129+
HYPERFRAMES_API_KEY: "",
130+
},
131+
},
124132
);
125133
assert.equal(result.status, 0, result.stderr);
126134
const actual = JSON.parse(readFileSync(path, "utf8"));

0 commit comments

Comments
 (0)