text: let nock = require('nock');
  
  module.exports.hash = "ea3c8f1e81ce3e0b884d9d1826c8ef1c";
  
  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/88888888-8888-8888-8888-888888888888/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',
    '1932c061-4da3-4b9b-be79-68a6e2900100',
    'x-ms-ests-server',
    '2.1.12071.16 - KRSLR1 ProdSlices',
    'Set-Cookie',
    'fpc=ArlD2ORpqBRMpuC5OlsrE0s; expires=Thu, 28-Oct-2021 08:07:43 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrE3eJV3K0_-yRfc3cBx8_ZMAF9PLJ6g4SgLTUIkIfQfzPZsK8rcJ3LgqctgV3bGyDDJ4FzSeNJHUK85BFK0mMUzGfnzb_lmhnQY6YX1GE8sEqKgLCHwSKGDmejUTcrI74pjPV6YBX1JwU8IWh1MHaAmtZbM1gwpziCweUtTFP5VwgAA; 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, 28 Sep 2021 08:07:43 GMT',
    'Content-Length',
    '980'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
    .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/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/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/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/88888888-8888-8888-8888-888888888888/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',
    '1932c061-4da3-4b9b-be79-68a6e4900100',
    'x-ms-ests-server',
    '2.1.12071.16 - KRSLR1 ProdSlices',
    'Set-Cookie',
    'fpc=AtFh042VAQJNgkH6XO160Rg; expires=Thu, 28-Oct-2021 08:07:44 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLcUk_7jOtm7gKR5quUFrGKWybklmkCTZV1ZkVgtnRQtP0zroXtfg1YkgW9INrGFNQYOCNZ-LmPxL9zrdmINtdhiAfXBUmPx5kE5kLt4e5TtmUcqhJ2Kdo3g95Q2Jdy7ZFjiLJv0yET2oXscP0l0T1S_hddjMV5lQ0D_iGgo7_CAgAA; 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, 28 Sep 2021 08:07:43 GMT',
    'Content-Length',
    '1753'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .post('/88888888-8888-8888-8888-888888888888/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.1&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=cb787a2a-582c-40aa-8c98-2cdb691e94aa&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',
    'b53bc90d-21a4-4e4b-9ae4-2614e2611400',
    'x-ms-ests-server',
    '2.1.12071.16 - SEASLR1 ProdSlices',
    'x-ms-clitelem',
    '1,0,0,,',
    'Set-Cookie',
    'fpc=AjLxNV8mAcJJifAEwDUrXGAWPr5BAQAAAE_E5NgOAAAA; expires=Thu, 28-Oct-2021 08:07: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, 28 Sep 2021 08:07:43 GMT',
    'Content-Length',
    '1351'
  ]);
  
  nock('https://management.azure.com:443', {"encodedQueryParams":true})
    .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx')
    .query(true)
    .reply(202, "", [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Expires',
    '-1',
    'Location',
    'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationResults/08D68E3C-DE07-48DD-B652-F8125B0BEDAD?api-version=2021-06-01-preview',
    'Retry-After',
    '10',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'Azure-AsyncOperation',
    'https://management.azure.com:443/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/08D68E3C-DE07-48DD-B652-F8125B0BEDAD?api-version=2021-06-01-preview',
    'Server',
    'Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-deletes',
    '14998',
    'x-ms-request-id',
    'bf1c58d9-94fc-4ea4-a711-7dff49e17620',
    'x-ms-correlation-request-id',
    'bf1c58d9-94fc-4ea4-a711-7dff49e17620',
    'x-ms-routing-request-id',
    'JAPANEAST:20210928T080745Z:bf1c58d9-94fc-4ea4-a711-7dff49e17620',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Tue, 28 Sep 2021 08:07:45 GMT',
    'Content-Length',
    '0'
  ]);
  
  nock('https://management.azure.com:443', {"encodedQueryParams":true})
    .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/08D68E3C-DE07-48DD-B652-F8125B0BEDAD')
    .query(true)
    .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f860e7e0e9a707a7f74eb69f9eee5027074f9f6e3ff9f4fedef6b383ddbdfb4f769e9c3e3d7efa7b64ab62fb92faa0f73edbdbd9dbdddef9747b67777b55e797457ef5d1e8a365b6c869703b07b34f0ff27bd3ed59cec066b3ed09809d03d8646792cfb219b56eb86b6a7fb67c59571775de341ffd","92ff07d07d35bb20010000"], [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Transfer-Encoding',
    'chunked',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Encoding',
    'gzip',
    'Expires',
    '-1',
    'Vary',
    'Accept-Encoding',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'x-ms-request-id',
    '32a4a484-fb34-4607-9f8b-17ebfe22bb26',
    'Server',
    'Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads',
    '11985',
    'x-ms-correlation-request-id',
    'b66be362-b519-434d-bf75-c16e30eae860',
    'x-ms-routing-request-id',
    'JAPANEAST:20210928T080745Z:b66be362-b519-434d-bf75-c16e30eae860',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Tue, 28 Sep 2021 08:07:45 GMT'
  ]);
  
  nock('https://management.azure.com:443', {"encodedQueryParams":true})
    .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/08D68E3C-DE07-48DD-B652-F8125B0BEDAD')
    .query(true)
    .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f860e7e0e9a707a7f74eb69f9eee5027074f9f6e3ff9f4fedef6b383ddbdfb4f769e9c3e3d7efa7b64ab62fb92faa0f73edbdbd9dbdddef9747b67777b55e797457ef5d1e8a365b6c869703b07b34f0ff27bd3ed59cec066b3ed09809d03d8646792cfb219b56eb86b6aff7a3d9de6f92c9f7df44b","fe1ffe81ef421f010000"], [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Transfer-Encoding',
    'chunked',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Encoding',
    'gzip',
    'Expires',
    '-1',
    'Vary',
    'Accept-Encoding',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'x-ms-request-id',
    '059f093f-a1f3-4756-ab86-7223eb4c4a88',
    'Server',
    'Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads',
    '11984',
    'x-ms-correlation-request-id',
    '8d78b966-0543-4c26-95d0-4b9e0deedb5f',
    'x-ms-routing-request-id',
    'JAPANEAST:20210928T080748Z:8d78b966-0543-4c26-95d0-4b9e0deedb5f',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Tue, 28 Sep 2021 08:07:47 GMT'
  ]);
  
  nock('https://management.azure.com:443', {"encodedQueryParams":true})
    .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains')
    .query(true)
    .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Transfer-Encoding',
    'chunked',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Encoding',
    'gzip',
    'Expires',
    '-1',
    'Vary',
    'Accept-Encoding',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'x-ms-request-id',
    '4862ccc3-5ecc-455e-8567-22ea803a6b8d',
    'Server',
    'Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads',
    '11983',
    'x-ms-correlation-request-id',
    'a2406818-6813-44cc-b508-6c0d71053291',
    'x-ms-routing-request-id',
    'JAPANEAST:20210928T080748Z:a2406818-6813-44cc-b508-6c0d71053291',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Tue, 28 Sep 2021 08:07:48 GMT'
  ]);
  