forked from cardosofelipe/pragma-stack
- Remove unused imports (fireEvent, IssueStatus) in issue component tests - Add E2E global type declarations for __TEST_AUTH_STORE__ - Fix toHaveAccessibleName assertion with regex pattern
19 lines
357 B
TypeScript
19 lines
357 B
TypeScript
/**
|
|
* Global type declarations for E2E tests
|
|
*/
|
|
|
|
declare global {
|
|
interface Window {
|
|
__TEST_AUTH_STORE__?: {
|
|
getState: () => {
|
|
isAuthenticated: boolean;
|
|
user: { id: string; email: string; is_superuser: boolean } | null;
|
|
accessToken: string | null;
|
|
refreshToken: string | null;
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
export {};
|