@nodaro/shared 3.16.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +427 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +397 -35
- package/dist/index.d.ts +397 -35
- package/dist/index.js +397 -44
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/apply-edl-credit-id.test.ts +25 -0
- package/src/__tests__/caption-plan.test.ts +27 -0
- package/src/__tests__/exposed-field-keys.test.ts +78 -0
- package/src/__tests__/instagram-scrape.test.ts +62 -0
- package/src/__tests__/node-preset-extract.test.ts +62 -0
- package/src/__tests__/node-runtime-keys.test.ts +1 -0
- package/src/__tests__/studio-sequence-owner.test.ts +356 -0
- package/src/__tests__/studio-transient.test.ts +34 -0
- package/src/__tests__/text-to-audio-pricing.test.ts +71 -0
- package/src/__tests__/tts-capabilities.test.ts +237 -0
- package/src/caption-plan.ts +27 -0
- package/src/credit-estimators/index.ts +7 -0
- package/src/credit-estimators/text-to-audio.ts +58 -0
- package/src/credit-identifiers.ts +12 -0
- package/src/exposed-field-keys.ts +49 -0
- package/src/index.ts +36 -1
- package/src/instagram-scrape.ts +91 -16
- package/src/model-catalog.ts +121 -2
- package/src/model-constants.ts +26 -16
- package/src/node-preset-extract.ts +33 -1
- package/src/node-runtime-keys.ts +12 -0
- package/src/presentation-utils.ts +5 -1
- package/src/social-search.ts +3 -3
- package/src/studio-transient.ts +337 -36
- package/src/tts-capabilities.ts +75 -0
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { describe, it, expect } from "vitest"
|
|
2
|
+
// Through the package index: the id builder is part of the public surface the
|
|
3
|
+
// backend, the editor and SDK users all price an Apply EDL render through.
|
|
4
|
+
import { applyEdlCreditId } from "../index.js"
|
|
5
|
+
|
|
6
|
+
describe("applyEdlCreditId — the credit id an Apply EDL render is priced on", () => {
|
|
7
|
+
it("a proxy (preview) render has its own id", () => {
|
|
8
|
+
expect(applyEdlCreditId("proxy")).toBe("apply-edl:proxy")
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
it("a final render keeps the bare id", () => {
|
|
12
|
+
expect(applyEdlCreditId("final")).toBe("apply-edl")
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
it("no quality is the final, as the route and the node default it", () => {
|
|
16
|
+
expect(applyEdlCreditId(undefined)).toBe("apply-edl")
|
|
17
|
+
expect(applyEdlCreditId(null)).toBe("apply-edl")
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
it("anything that is not exactly \"proxy\" prices as the final (the dearer id: never under-quote)", () => {
|
|
21
|
+
for (const q of ["PROXY", " proxy", "preview", "", 0, true, {}, ["proxy"]]) {
|
|
22
|
+
expect(applyEdlCreditId(q)).toBe("apply-edl")
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// packages/shared/src/__tests__/caption-plan.test.ts
|
|
2
|
+
import { describe, it, expect, expectTypeOf } from "vitest"
|
|
3
|
+
import type { CaptionPlan, CaptionWordTiming } from "../index.js"
|
|
4
|
+
|
|
5
|
+
describe("CaptionPlan", () => {
|
|
6
|
+
it("is exported from the package barrel with the documented fields", () => {
|
|
7
|
+
const plan: CaptionPlan = {
|
|
8
|
+
v: 1,
|
|
9
|
+
hookText: "Saved 3 hours a week",
|
|
10
|
+
hookEndMs: 1600,
|
|
11
|
+
bodyEndMs: 4300,
|
|
12
|
+
captions: [{ text: "so", startMs: 1600, endMs: 1900 }],
|
|
13
|
+
videoDurationMs: 8000,
|
|
14
|
+
language: "en",
|
|
15
|
+
}
|
|
16
|
+
expect(plan.v).toBe(1)
|
|
17
|
+
expectTypeOf<CaptionWordTiming>().toEqualTypeOf<{ readonly text: string; readonly startMs: number; readonly endMs: number }>()
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
it("requires its version and carries no styling", () => {
|
|
21
|
+
// @ts-expect-error — `v` is required
|
|
22
|
+
const noVersion: CaptionPlan = { hookText: "", hookEndMs: 0, bodyEndMs: 0, captions: [] }
|
|
23
|
+
// @ts-expect-error — a plan carries times and words only
|
|
24
|
+
const styled: CaptionPlan = { v: 1, hookText: "", hookEndMs: 0, bodyEndMs: 0, captions: [], look: "clean" }
|
|
25
|
+
expect([noVersion, styled]).toHaveLength(2)
|
|
26
|
+
})
|
|
27
|
+
})
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { describe, it, expect } from "vitest"
|
|
2
|
+
import {
|
|
3
|
+
LEGACY_EXPOSED_FIELD_KEYS,
|
|
4
|
+
canonicalExposedFieldKey,
|
|
5
|
+
canonicalizeOverrideKeys,
|
|
6
|
+
} from "../exposed-field-keys.js"
|
|
7
|
+
import { mergeNodeInputOverrides } from "../presentation-utils.js"
|
|
8
|
+
|
|
9
|
+
describe("canonicalExposedFieldKey", () => {
|
|
10
|
+
it("maps the legacy Text to Speech key to the node's data field", () => {
|
|
11
|
+
expect(canonicalExposedFieldKey("text-to-speech", "similarity")).toBe("similarityBoost")
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
it("passes the current key, any other key, another node type and a missing type through", () => {
|
|
15
|
+
expect(canonicalExposedFieldKey("text-to-speech", "similarityBoost")).toBe("similarityBoost")
|
|
16
|
+
expect(canonicalExposedFieldKey("text-to-speech", "stability")).toBe("stability")
|
|
17
|
+
// The rename belongs to one node type: AI Avatar's Fish voice has a field that really is `similarity`.
|
|
18
|
+
expect(canonicalExposedFieldKey("ai-avatar", "similarity")).toBe("similarity")
|
|
19
|
+
expect(canonicalExposedFieldKey(undefined, "similarity")).toBe("similarity")
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
it("an inherited object member name is an unknown key or type, never a function", () => {
|
|
23
|
+
for (const name of ["constructor", "__proto__", "toString", "hasOwnProperty"]) {
|
|
24
|
+
expect(canonicalExposedFieldKey("text-to-speech", name)).toBe(name)
|
|
25
|
+
expect(canonicalExposedFieldKey(name, "similarity")).toBe("similarity")
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
it("every row renames to a different key", () => {
|
|
30
|
+
for (const renames of Object.values(LEGACY_EXPOSED_FIELD_KEYS)) {
|
|
31
|
+
for (const [legacy, current] of Object.entries(renames)) expect(current).not.toBe(legacy)
|
|
32
|
+
}
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
describe("canonicalizeOverrideKeys", () => {
|
|
37
|
+
it("renames a legacy key and keeps its value", () => {
|
|
38
|
+
expect(canonicalizeOverrideKeys("text-to-speech", { similarity: 0.2, stability: 0.4 })).toEqual({
|
|
39
|
+
similarityBoost: 0.2,
|
|
40
|
+
stability: 0.4,
|
|
41
|
+
})
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
it("the current key wins when the caller sent both spellings", () => {
|
|
45
|
+
expect(canonicalizeOverrideKeys("text-to-speech", { similarity: 0.2, similarityBoost: 0.9 })).toEqual({
|
|
46
|
+
similarityBoost: 0.9,
|
|
47
|
+
})
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
it("returns the same object when nothing renames, and never mutates its input", () => {
|
|
51
|
+
const untouched = { stability: 0.4 }
|
|
52
|
+
expect(canonicalizeOverrideKeys("text-to-speech", untouched)).toBe(untouched)
|
|
53
|
+
const input = { similarity: 0.2 }
|
|
54
|
+
canonicalizeOverrideKeys("text-to-speech", input)
|
|
55
|
+
expect(input).toEqual({ similarity: 0.2 })
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
|
|
59
|
+
describe("mergeNodeInputOverrides — a legacy exposed key", () => {
|
|
60
|
+
const saved = { label: "Narration", provider: "elevenlabs-turbo", stability: 0.5, similarityBoost: 0.75 }
|
|
61
|
+
|
|
62
|
+
it("lands on the node's `similarityBoost` and leaves no dead `similarity` key behind", () => {
|
|
63
|
+
const merged = mergeNodeInputOverrides("text-to-speech", saved, { similarity: 0.2 })
|
|
64
|
+
expect(merged.similarityBoost).toBe(0.2)
|
|
65
|
+
expect("similarity" in merged).toBe(false)
|
|
66
|
+
expect(merged.stability).toBe(0.5)
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
it("is the same result as sending the current key", () => {
|
|
70
|
+
expect(mergeNodeInputOverrides("text-to-speech", saved, { similarity: 0.2 })).toEqual(
|
|
71
|
+
mergeNodeInputOverrides("text-to-speech", saved, { similarityBoost: 0.2 }),
|
|
72
|
+
)
|
|
73
|
+
})
|
|
74
|
+
|
|
75
|
+
it("leaves `similarity` alone on a node type that really has it", () => {
|
|
76
|
+
expect(mergeNodeInputOverrides("ai-avatar", { label: "Avatar" }, { similarity: 0.2 }).similarity).toBe(0.2)
|
|
77
|
+
})
|
|
78
|
+
})
|
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
buildInstagramScrapeCreditId,
|
|
8
8
|
clampInstagramFeaturedIndex,
|
|
9
9
|
featuredInstagramOutputs,
|
|
10
|
+
instagramPostLink,
|
|
11
|
+
instagramRequestedCount,
|
|
10
12
|
instagramScrapeCreditIdFromNode,
|
|
11
13
|
instagramScrapeSources,
|
|
12
14
|
resolveInstagramScrapeCreditId,
|
|
@@ -56,6 +58,66 @@ describe("instagram-scrape vocabulary", () => {
|
|
|
56
58
|
expect(clampInstagramFeaturedIndex(-3, 2)).toBe(0)
|
|
57
59
|
})
|
|
58
60
|
|
|
61
|
+
it("post links: canonical form, case-sensitive dedupe, everything else dropped", () => {
|
|
62
|
+
expect(instagramPostLink("https://www.instagram.com/p/Qx7LmNa2B4c/")).toBe("https://www.instagram.com/p/Qx7LmNa2B4c/")
|
|
63
|
+
expect(instagramPostLink("instagram.com/p/Qx7LmNa2B4c?igsh=abc123")).toBe("https://www.instagram.com/p/Qx7LmNa2B4c/")
|
|
64
|
+
expect(instagramPostLink("https://m.instagram.com/some.creator/p/Qx7LmNa2B4c/")).toBe("https://www.instagram.com/p/Qx7LmNa2B4c/")
|
|
65
|
+
expect(instagramPostLink(" https://www.instagram.com/reel/C1a2B3c4D5e/ ")).toBe("https://www.instagram.com/reel/C1a2B3c4D5e/")
|
|
66
|
+
expect(instagramPostLink("https://www.instagram.com/reels/C1a2B3c4D5e/")).toBe("https://www.instagram.com/reel/C1a2B3c4D5e/")
|
|
67
|
+
expect(instagramPostLink("https://instagr.am/p/Abc_-123/")).toBe("https://www.instagram.com/p/Abc_-123/")
|
|
68
|
+
expect(instagramPostLink("https://www.instagram.com/some.creator/")).toBeNull()
|
|
69
|
+
expect(instagramPostLink("https://www.instagram.com/explore/tags/running/")).toBeNull()
|
|
70
|
+
expect(instagramPostLink("https://evil.example.com/p/Qx7LmNa2B4c/")).toBeNull()
|
|
71
|
+
expect(instagramPostLink("https://instagram.com.evil.example/p/Qx7LmNa2B4c/")).toBeNull()
|
|
72
|
+
expect(instagramPostLink("Qx7LmNa2B4c")).toBeNull()
|
|
73
|
+
// Instagram's own path words are never a username, and an audio page is not a reel:
|
|
74
|
+
// each would otherwise become a wrong post that still bills.
|
|
75
|
+
expect(instagramPostLink("https://www.instagram.com/share/p/BAxyz12345/")).toBeNull()
|
|
76
|
+
expect(instagramPostLink("https://www.instagram.com/share/reel/BAxyz12345/")).toBeNull()
|
|
77
|
+
expect(instagramPostLink("https://www.instagram.com/reels/audio/123456789/")).toBeNull()
|
|
78
|
+
expect(instagramPostLink("https://www.instagram.com/reels/audio?x=1")).toBeNull()
|
|
79
|
+
expect(instagramPostLink("https://www.instagram.com/stories/some.creator/123/")).toBeNull()
|
|
80
|
+
// …but a real shortcode that merely starts with those letters is fine.
|
|
81
|
+
expect(instagramPostLink("https://www.instagram.com/reel/audioXYZ123/")).toBe("https://www.instagram.com/reel/audioXYZ123/")
|
|
82
|
+
|
|
83
|
+
expect(
|
|
84
|
+
splitInstagramTargets(
|
|
85
|
+
"https://www.instagram.com/p/AbC123/\nhttps://instagram.com/p/AbC123/?igsh=x https://www.instagram.com/p/abc123/, nike",
|
|
86
|
+
"post",
|
|
87
|
+
),
|
|
88
|
+
).toEqual(["https://www.instagram.com/p/AbC123/", "https://www.instagram.com/p/abc123/"])
|
|
89
|
+
expect(splitInstagramTargets(["https://www.instagram.com/p/AbC123/", "#running"], "post")).toEqual(["https://www.instagram.com/p/AbC123/"])
|
|
90
|
+
// One post reached by its /p/ and its /reel/ link is ONE target (deduped by shortcode).
|
|
91
|
+
expect(splitInstagramTargets("https://www.instagram.com/p/AbC123/\nhttps://www.instagram.com/reel/AbC123/", "post")).toEqual(["https://www.instagram.com/p/AbC123/"])
|
|
92
|
+
// An API array entry holding two links keeps both.
|
|
93
|
+
expect(splitInstagramTargets(["https://www.instagram.com/p/One111/ https://www.instagram.com/p/Two222/"], "post")).toEqual([
|
|
94
|
+
"https://www.instagram.com/p/One111/",
|
|
95
|
+
"https://www.instagram.com/p/Two222/",
|
|
96
|
+
])
|
|
97
|
+
expect(splitInstagramTargets(Array.from({ length: 9 }, (_, i) => `https://www.instagram.com/p/code${i}/`), "post")).toHaveLength(INSTAGRAM_SCRAPE_MAX_SOURCES)
|
|
98
|
+
// The other modes keep their behaviour, with or without the mode argument.
|
|
99
|
+
expect(splitInstagramTargets("@nike\n#running", "profile")).toEqual(splitInstagramTargets("@nike\n#running"))
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
it("post mode bills one post per link, whatever the count setting says", () => {
|
|
103
|
+
expect(instagramRequestedCount("post", 80)).toBe(1)
|
|
104
|
+
expect(instagramRequestedCount("profile", 80)).toBe(80)
|
|
105
|
+
const node = { mode: "post", targets: "https://www.instagram.com/p/AbC123/\nhttps://www.instagram.com/p/XyZ789/", count: 80 }
|
|
106
|
+
expect(instagramScrapeSources(node)).toBe(2)
|
|
107
|
+
// 2 links → 2 requested posts → the 10 tier, not 2 × 80 → the 200 tier.
|
|
108
|
+
expect(instagramScrapeCreditIdFromNode(node)).toBe("instagram-scrape:10")
|
|
109
|
+
// The docs' worked examples: 1 link → 10 CR, 5 links → still 10 CR.
|
|
110
|
+
expect(instagramScrapeCreditIdFromNode({ mode: "post", targets: "https://www.instagram.com/p/AbC123/" })).toBe("instagram-scrape:10")
|
|
111
|
+
const fiveLinks = Array.from({ length: 5 }, (_, i) => `https://www.instagram.com/p/code${i}/`).join("\n")
|
|
112
|
+
expect(instagramScrapeCreditIdFromNode({ mode: "post", targets: fiveLinks, count: 100 })).toBe("instagram-scrape:10")
|
|
113
|
+
expect(INSTAGRAM_SCRAPE_CREDIT_COSTS["instagram-scrape:10"]).toBe(10)
|
|
114
|
+
expect(instagramScrapeCreditIdFromNode({ ...node, analyze: true })).toBe("instagram-scrape:10:analysis:economy")
|
|
115
|
+
// The pre-Zod guard lands on the same id from the wire body.
|
|
116
|
+
expect(resolveInstagramScrapeCreditId({ mode: "post", targets: ["https://www.instagram.com/p/AbC123/", "https://www.instagram.com/p/XyZ789/"], count: 80 })).toBe("instagram-scrape:10")
|
|
117
|
+
// A post-mode body with no valid link prices like any empty request.
|
|
118
|
+
expect(resolveInstagramScrapeCreditId({ mode: "post", targets: ["nike"] })).toBe(INSTAGRAM_SCRAPE_FALLBACK_CREDIT_ID)
|
|
119
|
+
})
|
|
120
|
+
|
|
59
121
|
it("typed handles resolve as the canonical single-media producers on canvas; json keeps the raw type", () => {
|
|
60
122
|
expect(resolveEffectiveSourceType("instagram-scrape", "text")).toBe("combine-text")
|
|
61
123
|
expect(resolveEffectiveSourceType("instagram-scrape", "image")).toBe("upload-image")
|
|
@@ -4,7 +4,9 @@ import {
|
|
|
4
4
|
extractPresetData,
|
|
5
5
|
PRESET_EXCLUDED_KEYS,
|
|
6
6
|
PRESET_APPLY_CLEAR_KEYS,
|
|
7
|
+
PRESET_LEVER_GROUPS,
|
|
7
8
|
presetApplyClearKeys,
|
|
9
|
+
presetLeverClearKeys,
|
|
8
10
|
presetDataMatches,
|
|
9
11
|
} from "../node-preset-extract.js"
|
|
10
12
|
|
|
@@ -234,3 +236,63 @@ describe("Scene3D presets", () => {
|
|
|
234
236
|
expect(presetApplyClearKeys({ scenePrompt: "New scene" })).toContain("promptPrefix")
|
|
235
237
|
})
|
|
236
238
|
})
|
|
239
|
+
|
|
240
|
+
describe("caption lever group (applying a caption preset over another)", () => {
|
|
241
|
+
// The values of the Hook Plate, Body Captions and Clean Subtitles presets in @nodaro/prompts.
|
|
242
|
+
const HOOK_PLATE = { style: "subtitle", look: "clean", position: "top", positionY: 20, fontSize: 32, fontWeight: 800, maxWordsPerLine: 4, color: "#111111", backgroundColor: "#FFFFFF", autoTranscribe: false }
|
|
243
|
+
const BODY = { style: "word-highlight", look: "outline", position: "bottom", positionY: 72, fontSize: 32, maxWordsPerLine: 3, color: "#FFFFFF", autoTranscribe: true }
|
|
244
|
+
const CLEAN = { style: "subtitle", position: "bottom", fontSize: 32, color: "#FFFFFF", autoTranscribe: true }
|
|
245
|
+
const apply = (node: Record<string, unknown>, preset: Record<string, unknown>, nodeType?: string) => ({
|
|
246
|
+
...node,
|
|
247
|
+
...Object.fromEntries(presetApplyClearKeys(preset, nodeType).map((k) => [k, undefined])),
|
|
248
|
+
...preset,
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("Body Captions over Hook Plate clears the plate's backgroundColor and fontWeight", () => {
|
|
252
|
+
const after = apply(HOOK_PLATE, BODY, "add-captions")
|
|
253
|
+
expect(after.backgroundColor).toBeUndefined()
|
|
254
|
+
expect(after.fontWeight).toBeUndefined()
|
|
255
|
+
expect(after.look).toBe("outline")
|
|
256
|
+
})
|
|
257
|
+
|
|
258
|
+
it("Clean Subtitles over Hook Plate clears backgroundColor, look, positionY, fontWeight and maxWordsPerLine", () => {
|
|
259
|
+
const after = apply(HOOK_PLATE, CLEAN, "add-captions")
|
|
260
|
+
for (const k of ["backgroundColor", "look", "positionY", "fontWeight", "maxWordsPerLine"]) expect(after[k], k).toBeUndefined()
|
|
261
|
+
expect(after.position).toBe("bottom")
|
|
262
|
+
})
|
|
263
|
+
|
|
264
|
+
it("an existing caption preset over a clean node leaves no lever set", () => {
|
|
265
|
+
const after = apply({ style: "subtitle" }, CLEAN, "add-captions")
|
|
266
|
+
for (const k of PRESET_LEVER_GROUPS["add-captions"]!) expect(after[k], k).toBeUndefined()
|
|
267
|
+
expect(after).toMatchObject(CLEAN)
|
|
268
|
+
})
|
|
269
|
+
|
|
270
|
+
it("never clears a lever the preset sets", () => {
|
|
271
|
+
for (const k of presetLeverClearKeys(HOOK_PLATE, "add-captions")) expect(HOOK_PLATE).not.toHaveProperty(k)
|
|
272
|
+
})
|
|
273
|
+
|
|
274
|
+
it("empty preset data clears no group member", () => {
|
|
275
|
+
expect(presetLeverClearKeys({}, "add-captions")).toEqual([])
|
|
276
|
+
expect(presetLeverClearKeys({ style: undefined }, "add-captions")).toEqual([])
|
|
277
|
+
})
|
|
278
|
+
|
|
279
|
+
it("a node type with no group, or no node type, behaves as today", () => {
|
|
280
|
+
expect(presetLeverClearKeys(CLEAN, "generate-image")).toEqual([])
|
|
281
|
+
expect(presetLeverClearKeys(CLEAN)).toEqual([])
|
|
282
|
+
expect([...presetApplyClearKeys(CLEAN, "generate-image")].sort()).toEqual([...PRESET_APPLY_CLEAR_KEYS].sort())
|
|
283
|
+
expect([...presetApplyClearKeys(CLEAN)].sort()).toEqual([...PRESET_APPLY_CLEAR_KEYS].sort())
|
|
284
|
+
})
|
|
285
|
+
|
|
286
|
+
it("a hand-set fontFamily is cleared by any caption preset that does not set it (the stated cost)", () => {
|
|
287
|
+
expect(apply({ ...BODY, fontFamily: "Anton" }, CLEAN, "add-captions").fontFamily).toBeUndefined()
|
|
288
|
+
})
|
|
289
|
+
|
|
290
|
+
it("an inherited key name is not a node type", () => {
|
|
291
|
+
expect(presetLeverClearKeys(CLEAN, "constructor")).toEqual([])
|
|
292
|
+
})
|
|
293
|
+
|
|
294
|
+
it("group members stay capture-included, and PRESET_EXCLUDED_KEYS still covers PRESET_APPLY_CLEAR_KEYS", () => {
|
|
295
|
+
for (const k of PRESET_LEVER_GROUPS["add-captions"]!) expect(PRESET_EXCLUDED_KEYS.has(k), k).toBe(false)
|
|
296
|
+
for (const k of PRESET_APPLY_CLEAR_KEYS) expect(PRESET_EXCLUDED_KEYS.has(k), k).toBe(true)
|
|
297
|
+
})
|
|
298
|
+
})
|