Skip to content

Commit

Permalink
fix: upload test case (#6462)
Browse files Browse the repository at this point in the history
  • Loading branch information
keepview authored Oct 30, 2024
1 parent 2492002 commit 1e5fcb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/bff-express/src/upload/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Index = (): JSX.Element => {
return (
<>
<h1>File Upload</h1>
<p className="mock_file">fileName: {fileName}</p>
<p className="mock_file">{fileName}</p>
<form onSubmit={handleSubmit}>
<input multiple type="file" onChange={handleChange} />
<button type="submit">基于 fetch upload</button>
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/bff-koa/src/routes/upload/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default (): JSX.Element => {
return (
<>
<h1>File Upload</h1>
<p className="mock_file">fileName: {fileName}</p>
<p className="mock_file">{fileName}</p>
<form onSubmit={handleSubmit}>
<input multiple type="file" onChange={handleChange} />
<button type="submit">基于 fetch upload</button>
Expand Down

0 comments on commit 1e5fcb5

Please sign in to comment.