Skip to content

Commit 64828b0

Browse files
Add Image Unit Tests (#13122)
* Add Image Unit Tests * Add Image unit tests * Add tests for get_data, image coordinate clicking
1 parent a5d4096 commit 64828b0

3 files changed

Lines changed: 731 additions & 1 deletion

File tree

.changeset/silent-lines-drive.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@gradio/atoms": minor
3+
"gradio": minor
4+
---
5+
6+
feat:Add Image Unit Tests

js/atoms/src/SelectSource.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333
</script>
3434

35-
{#if unique_sources.length > 1}
35+
{#if unique_sources.length > 1 || sources.includes("clipboard")}
3636
<span class="source-selection" data-testid="source-select">
3737
{#if sources.includes("upload")}
3838
<button

0 commit comments

Comments
 (0)