|
@@ -89,7 +89,7 @@ describe('Camera API', () => {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
describe('ptzControl', () => {
|
|
describe('ptzControl', () => {
|
|
|
- it('should call POST /camera/control/:cameraId/ptz/control', async () => {
|
|
|
|
|
|
|
+ it('should call POST /camera/ptz/control', async () => {
|
|
|
const mockResponse = wrapResponse(null)
|
|
const mockResponse = wrapResponse(null)
|
|
|
vi.mocked(request.post).mockResolvedValue(mockResponse)
|
|
vi.mocked(request.post).mockResolvedValue(mockResponse)
|
|
|
|
|
|