mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
Try to fix a mock for the deployment commit API.
This commit is contained in:
1 parent
59a9aed03e
commit
748cd4e795
1 file changed
+2
-2
@@ -75,8 +75,8 @@ const { mockCommitSha, mockCommitTime, mockUseDeploymentCommitQuery } = vi.hoist
|
||||
const commitTime = '2024-01-01T00:00:00Z'
|
||||
|
||||
const createCommitResponse = () => ({
|
||||
commitSha: sha,
|
||||
commitTime,
|
||||
deploymentCommit: { time: commitTime, sha },
|
||||
latestCommit: { time: commitTime, sha },
|
||||
})
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user