mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat: Add test overrides (#5642)
* feat: Add test overrides * feat: add more func to test with * test: add tests for posthog store * fix: only init once * fix: only init once * test: fix
This commit is contained in:
@@ -71,6 +71,11 @@ declare global {
|
||||
analytics?: {
|
||||
track(event: string, proeprties?: ITelemetryTrackProperties): void;
|
||||
};
|
||||
featureFlags?: {
|
||||
getAll: () => FeatureFlags;
|
||||
getVariant: (name: string) => string | boolean | undefined;
|
||||
override: (name: string, value: string) => void;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -579,6 +584,7 @@ export interface IUserResponse {
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
email?: string;
|
||||
createdAt?: string;
|
||||
globalRole?: {
|
||||
name: IRole;
|
||||
id: string;
|
||||
@@ -599,7 +605,6 @@ export interface IUser extends IUserResponse {
|
||||
isOwner: boolean;
|
||||
inviteAcceptUrl?: string;
|
||||
fullName?: string;
|
||||
createdAt?: string;
|
||||
}
|
||||
|
||||
export interface IVersionNotificationSettings {
|
||||
|
||||
Reference in New Issue
Block a user