Add device traffic reset with outbound baselines
This commit is contained in:
@@ -102,6 +102,9 @@ test('typed endpoint facade preserves exact request contracts and raw payload id
|
||||
}],
|
||||
[() => api.devices.list(), '/api/devices', {}],
|
||||
[() => api.devices.refresh(), '/api/devices/refresh', { method: 'POST' }],
|
||||
[() => api.devices.resetTraffic(8), '/api/devices/traffic', {
|
||||
method: 'DELETE', body: JSON.stringify({ expectedRevision: 8 }),
|
||||
}],
|
||||
[() => api.devices.update('dev_1', { alias: 'TV' }, 8), '/api/devices/dev_1', {
|
||||
method: 'PUT', body: JSON.stringify({ alias: 'TV', expectedRevision: 8 }),
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user