fix: update admin flows and review report
This commit is contained in:
@@ -165,7 +165,7 @@ try {
|
||||
$env:GOCACHE = $goCacheDir
|
||||
$env:GOMODCACHE = $goModCacheDir
|
||||
$env:GOPATH = $goPathDir
|
||||
go build -o $serverExePath .\cmd\server\main.go
|
||||
go build -o $serverExePath ./cmd/server
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw 'server build failed'
|
||||
}
|
||||
|
||||
@@ -530,13 +530,13 @@ describe('Interaction Behavior', () => {
|
||||
|
||||
const handleSearch = vi.fn()
|
||||
|
||||
let timeoutId: ReturnType<typeof setTimeout>
|
||||
const TestSearchInput = ({ onSearch }: { onSearch: (value: string) => void }) => {
|
||||
let timeout: ReturnType<typeof setTimeout>
|
||||
return (
|
||||
<input
|
||||
onChange={(e) => {
|
||||
clearTimeout(timeout)
|
||||
timeout = setTimeout(() => onSearch(e.target.value), 300)
|
||||
clearTimeout(timeoutId)
|
||||
timeoutId = setTimeout(() => onSearch(e.target.value), 300)
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user