Skip to content

Commit e585f25

Browse files
committed
test: read the safe-box constants from core
1 parent c320c8d commit e585f25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/creator-editing-recipes.test.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test("the Remotion translation docs do not claim volume ramps are unsupported",
6060
});
6161

6262
test("the entry skill's safe boxes equal the preview's", async () => {
63-
const src = await read("packages/studio/src/utils/previewSafeMargins.ts");
63+
const src = await read("packages/core/src/safeAreas.ts");
6464
const action = src.match(/ACTION_SAFE_PERCENT = (\d+)/)?.[1];
6565
const title = src.match(/TITLE_SAFE_PERCENT = (\d+)/)?.[1];
6666
const skill = await read(ENTRY_SKILL);

0 commit comments

Comments
 (0)