Add test id for upload

This commit is contained in:
Arnaud 2024-10-10 19:11:50 +02:00
parent df32930ed2
commit 887f27be70
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.17",
"version": "0.0.18",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.17",
"version": "0.0.18",
"license": "MIT",
"dependencies": {
"lucide-react": "^0.441.0"

View File

@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components"
},
"version": "0.0.17",
"version": "0.0.18",
"type": "module",
"scripts": {
"prepack": "npm run build",

View File

@ -163,6 +163,7 @@ export function Upload({
</SimpleText>
</div>
<input
data-testid="upload"
type="file"
hidden
ref={input}