1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/test/frontend/__lib__/auth.ts
2022-12-21 14:14:39 +01:00

8 lines
251 B
TypeScript

import { User } from '../../../app/frontend/src/javascript/models/user';
declare var loggedUser; // eslint-disable-line no-var
export const loginAs = (user: User) => {
loggedUser = user; // eslint-disable-line @typescript-eslint/no-unused-vars
};