mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
15 lines
334 B
TypeScript
15 lines
334 B
TypeScript
import { IDeviceUser } from "interfaces/host";
|
|
|
|
const DEFAULT_DEVICE_USER_MOCK: IDeviceUser = {
|
|
email: "test@test.com",
|
|
source: "test_source",
|
|
};
|
|
|
|
const createMockDeviceUser = (
|
|
overrides?: Partial<IDeviceUser>
|
|
): IDeviceUser => {
|
|
return { ...DEFAULT_DEVICE_USER_MOCK, ...overrides };
|
|
};
|
|
|
|
export default createMockDeviceUser;
|