<commit_before>import { AccessTokenEntity } from "../../../src/cache/entities/AccessTokenEntity";
import { IdTokenEntity } from "../../../src/cache/entities/IdTokenEntity";
import { RefreshTokenEntity } from "../../../src/cache/entities/RefreshTokenEntity";
import { AccountEntity } from "../../../src/cache/entities/AccountEntity";
import { AppMetadataEntity } from "../../../src/cache/entities/AppMetadataEntity";

// mock tokens
export const mockAccessTokenEntity_1 = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "accesstoken",
    clientId: "mock_client_id",
    secret: "an access token",
    realm: "microsoft",
    target: "scope1 scope2 scope3",
    cachedAt: "1000",
    expiresOn: "4600",
    extendedExpiresOn: "4600",
};

export const mockAccessTokenEntity_2 = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "accesstoken",
    clientId: "mock_client_id",
    secret: "an access token",
    realm: "microsoft",
    target: "scope4 scope5",
    cachedAt: "1000",
    expiresOn: "4600",
    extendedExpiresOn: "4600"
};

export const mockIdTokenEntity = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "idtoken",
    clientId: "mock_client_id",
    secret: "<KEY>",
    realm: "microsoft"
};

export const mockRefreshTokenEntity = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "refreshtoken",
    clientId: "mock_client_id",
    secret: "a refresh token"
};

export const mockRefreshTokenEntityWithFamilyId = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "refreshtoken",
    clientId: "mock_client_id",<commit_msg>Fixing tests<commit_after>import { AccessTokenEntity } from "../../../src/cache/entities/AccessTokenEntity";
import { IdTokenEntity } from "../../../src/cache/entities/IdTokenEntity";
import { RefreshTokenEntity } from "../../../src/cache/entities/RefreshTokenEntity";
import { AccountEntity } from "../../../src/cache/entities/AccountEntity";
import { AppMetadataEntity } from "../../../src/cache/entities/AppMetadataEntity";

// mock tokens
export const mockAccessTokenEntity_1 = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "AccessToken",
    clientId: "mock_client_id",
    secret: "an access token",
    realm: "microsoft",
    target: "scope1 scope2 scope3",
    cachedAt: "1000",
    expiresOn: "4600",
    extendedExpiresOn: "4600",
};

export const mockAccessTokenEntity_2 = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "AccessToken",
    clientId: "mock_client_id",
    secret: "an access token",
    realm: "microsoft",
    target: "scope4 scope5",
    cachedAt: "1000",
    expiresOn: "4600",
    extendedExpiresOn: "4600"
};

export const mockIdTokenEntity = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "IdToken",
    clientId: "mock_client_id",
    secret: "<KEY>",
    realm: "microsoft"
};

export const mockRefreshTokenEntity = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "RefreshToken",
    clientId: "mock_client_id",
    secret: "a refresh token"
};

export const mockRefreshTokenEntityWithFamilyId = {
    homeAccountId: "uid.utid",
    environment: "login.microsoftonline.com",
    credentialType: "RefreshToken",
    clientId: "mock_client_id",
{'fraction_non_alphanumeric': 0.14673760851302156, 'fraction_numerical': 0.017362083450014002, 'mean_word_length': 3.9201101928374658, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6715585', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1116, 'n_words': 232}