text: let nock = require('nock');
  
  module.exports.hash = "e89845354bda9fbabaf9179fbd12fbc3";
  
  module.exports.testInfo = {"uniqueName":{},"newDate":{}}
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/common/discovery/instance')
    .query(true)
    .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
    'Cache-Control',
    'max-age=86400, private',
    'Content-Type',
    'application/json; charset=utf-8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Access-Control-Allow-Origin',
    '*',
    'Access-Control-Allow-Methods',
    'GET, OPTIONS',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '419a28cf-1aae-4a74-b93f-9d551b4f5801',
    'x-ms-ests-server',
    '2.1.12231.7 - SCUS ProdSlices',
    'Set-Cookie',
    'fpc=AiEy3fH2c2dDttdgrJ-39kg; expires=Thu, 16-Dec-2021 00:33:44 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_lLXUpnXNtpsgY4EEYO3PUSK0cRFwo63_XWu8XK0cmxjVcj-dxvoaG7oGtwxVHv_i81ItU3u-y_tEkYZ4zYrmg_S9n0tmwwCH-b5DnzhJXpyWNvmOU8oMTgwBoiJJNxXDXWz1F0Ra8N7mLUQi3Q0IfROVOpX3mP0WMJVC0hP91ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Tue, 16 Nov 2021 00:33:44 GMT',
    'Content-Length',
    '980'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration')
    .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
    'Cache-Control',
    'max-age=86400, private',
    'Content-Type',
    'application/json; charset=utf-8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Access-Control-Allow-Origin',
    '*',
    'Access-Control-Allow-Methods',
    'GET, OPTIONS',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '4075bfc4-5f01-4303-add0-7d321126d000',
    'x-ms-ests-server',
    '2.1.12231.7 - WUS2 ProdSlices',
    'Set-Cookie',
    'fpc=Agd3dvVh1p9Kll4OVVNc6xM; expires=Thu, 16-Dec-2021 00:33:44 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbFu0RQVie-fgCyfjSmqkstrvK9DZ_yYrZjzEX74I9LFOOQIFgNjzZTFyWqUkJH2GoTSHthkG_YjvN2z1MlycdDW2XmXrb_5Rn797pKY8KdppuDGqNcIebFqYlErLBXbQA5cpJ5r7NFBLETlSZgQyxTFo7Kc8EOsoJGox24gmlrIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Tue, 16 Nov 2021 00:33:44 GMT',
    'Content-Length',
    '1753'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=8a486269-3e11-4b70-b0c0-535f69c99c98&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D")
    .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
    'Cache-Control',
    'no-store, no-cache',
    'Pragma',
    'no-cache',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '98750491-3433-4553-b995-9a3f78067500',
    'x-ms-ests-server',
    '2.1.12231.7 - WUS2 ProdSlices',
    'x-ms-clitelem',
    '1,0,0,,',
    'Set-Cookie',
    'fpc=AitPA5MD97hOhianXTVSpVU; expires=Thu, 16-Dec-2021 00:33:44 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Tue, 16 Nov 2021 00:33:44 GMT',
    'Content-Length',
    '1331'
  ]);
  
  nock('https://endpoint:443', {"encodedQueryParams":true})
    .patch('/metricsadvisor/v1.0/hooks/f00e39a3-ed3c-439c-882b-93c209c846c3', {"hookType":"Email","hookParameter":{"toList":["test2@example.com","test3@example.com"]}})
    .reply(200, {"hookId":"f00e39a3-ed3c-439c-882b-93c209c846c3","hookName":"js-test-emailHook-163702282212800101","hookType":"Email","externalLink":"","description":"description","admins":["azure_client_id"],"hookParameter":{"toList":["test2@example.com","test3@example.com"]}}, [
    'Content-Length',
    '283',
    'Content-Type',
    'application/json; charset=utf-8',
    'x-request-id',
    '841bdaaf-617d-4e8c-9633-b180b72bd6d8',
    'x-envoy-upstream-service-time',
    '520',
    'apim-request-id',
    '841bdaaf-617d-4e8c-9633-b180b72bd6d8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains; preload',
    'x-content-type-options',
    'nosniff',
    'Date',
    'Tue, 16 Nov 2021 00:33:44 GMT'
  ]);
  