@@ -46,10 +46,6 @@ function insertionScenario(consumerCount: number) {
4646}
4747
4848describe ( 'plain-object copies of LLink (uncovered)' , ( ) => {
49- // The LLink counterpart of the plain-object slot cases in
50- // `node/legacySlotLinkMutations.test.ts`. `id`, `type`, `origin_id`,
51- // `origin_slot`, `target_id`, `target_slot` and `parentId` are prototype
52- // accessors over `_state`, so a spread copy carries none of them.
5349 beforeEach ( ( ) => {
5450 setActivePinia ( createTestingPinia ( { stubActions : false } ) )
5551 } )
@@ -67,10 +63,7 @@ describe('plain-object copies of LLink (uncovered)', () => {
6763 expect ( copy . parentId ) . toBe ( link . parentId )
6864 } )
6965
70- it . fails ( 'rewires consumers through a node inserted from copied links' , ( ) => {
71- // The shape ComfyUI-Custom-Scripts' "Add Clip Skip" and "Add LoRA" use
72- // (web/js/quickNodes.js): snapshot the outgoing links as spread copies,
73- // drop them, then reconnect the far ends from the copies. See #15594.
66+ it . fails ( 'rewires Custom-Scripts consumers from copied links (#15594)' , ( ) => {
7467 const { graph, source, consumers, inserted } = insertionScenario ( 2 )
7568 const saved : Partial < LLink > [ ] = source . outputs [ 1 ] . links ! . map ( ( id ) => ( {
7669 ...graph . links [ id ]
0 commit comments