Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
080ef75c
"...git@developer.sourcefind.cn:chenpangpang/diffusers.git" did not exist on "a35e72b0325cc0196bd4aa56c79d14e3b6eb6516"
Commit
080ef75c
authored
Dec 09, 2023
by
pythongosssss
Browse files
fix
parent
9aaf368a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
tests-ui/tests/groupNode.test.js
tests-ui/tests/groupNode.test.js
+7
-2
No files found.
tests-ui/tests/groupNode.test.js
View file @
080ef75c
...
@@ -405,9 +405,14 @@ describe("group node", () => {
...
@@ -405,9 +405,14 @@ describe("group node", () => {
group1
.
outputs
.
LATENT
.
connectTo
(
group2
.
inputs
.
LATENT
);
group1
.
outputs
.
LATENT
.
connectTo
(
group2
.
inputs
.
LATENT
);
const
decode
=
ez
.
VAEDecode
(
group2
.
outputs
.
LATENT
,
group2
.
outputs
.
VAE
);
const
decode
=
ez
.
VAEDecode
(
group2
.
outputs
.
LATENT
,
group2
.
outputs
.
VAE
);
ez
.
PreviewImage
(
decode
.
outputs
[
0
]);
const
preview
=
ez
.
PreviewImage
(
decode
.
outputs
[
0
]);
expect
((
await
graph
.
toPrompt
()).
output
).
toEqual
({});
expect
((
await
graph
.
toPrompt
()).
output
).
toEqual
({
[
latent
.
id
]:
{
inputs
:
{
width
:
512
,
height
:
512
,
batch_size
:
1
},
class_type
:
"
EmptyLatentImage
"
},
[
vae
.
id
]:
{
inputs
:
{
vae_name
:
"
vae1.safetensors
"
},
class_type
:
"
VAELoader
"
},
[
decode
.
id
]:
{
inputs
:
{
samples
:
[
latent
.
id
+
""
,
0
],
vae
:
[
vae
.
id
+
""
,
0
]
},
class_type
:
"
VAEDecode
"
},
[
preview
.
id
]:
{
inputs
:
{
images
:
[
decode
.
id
+
""
,
0
]
},
class_type
:
"
PreviewImage
"
},
});
});
});
test
(
"
displays generated image on group node
"
,
async
()
=>
{
test
(
"
displays generated image on group node
"
,
async
()
=>
{
const
{
ez
,
graph
,
app
}
=
await
start
();
const
{
ez
,
graph
,
app
}
=
await
start
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment