diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d4ef5b3228c..15b955357b63 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -140,7 +140,7 @@ By default, Rush only displays things written to `STDERR`. If you want to see th If you want to run the tests of a specific project, go to that project's folder and execute `rushx test`. All of the tests will automatically run both in NodeJS and in the browser. To target these environments individually, you can run `rushx test:node` and `rushx test:browser`. -By default, these npm scripts run previously recorded tests. The recordings have been generated by using a custom recording library called [test-utils-recorder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md). We will examine how to run recorded tests and live tests in the following sections. +By default, these npm scripts run previously recorded tests. The recordings have been generated by using a custom recording library called [test-recorder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md). We will examine how to run recorded tests and live tests in the following sections. #### Recorded tests @@ -166,7 +166,7 @@ If you modify the network calls (both the number of calls or their shape) either Regenerating the recordings has the same requirements as running the live tests. You will be using the same `test` npm script with the environment variables pointing to previously created Azure resources. The only difference is that the `TEST_MODE` environment variable needs to be set to `record`. When this process finishes without errors, the recordings will be updated. -For more information the recorder, please visit the [test-utils-recorder's readme](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md). +For more information the recorder, please visit the [test-recorder's readme](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md). ### Other NPM scripts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 0f681c9f6dc2..54296161cfc4 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -107,9 +107,9 @@ dependencies: '@rush-temp/synapse-monitoring': file:projects/synapse-monitoring.tgz '@rush-temp/synapse-spark': file:projects/synapse-spark.tgz '@rush-temp/template': file:projects/template.tgz + '@rush-temp/test-recorder': file:projects/test-recorder.tgz '@rush-temp/test-utils': file:projects/test-utils.tgz '@rush-temp/test-utils-perfstress': file:projects/test-utils-perfstress.tgz - '@rush-temp/test-utils-recorder': file:projects/test-utils-recorder.tgz '@rush-temp/video-analyzer-edge': file:projects/video-analyzer-edge.tgz '@rush-temp/web-pubsub': file:projects/web-pubsub.tgz '@rush-temp/web-pubsub-express': file:projects/web-pubsub-express.tgz @@ -8304,7 +8304,7 @@ packages: dev: false name: '@rush-temp/agrifood-farming' resolution: - integrity: sha512-awf9qld3tztykzHz3AtGmczBEkcIEXCnT2bx6KJ+Tq02FXhmeQEOSJbW8I1zlNmaZ/f5rzqLmQkE5LQlF2eb5Q== + integrity: sha512-fI0ZnOU97ijUuuYLyfEmoblNdvsESeIFjLoqXElcFHbHpt3oY29P9TeOXZGkYPZWn0rqdS6ThSrwtm4whLGXhw== tarball: file:projects/agrifood-farming.tgz version: 0.0.0 file:projects/ai-anomaly-detector.tgz: @@ -8353,7 +8353,7 @@ packages: dev: false name: '@rush-temp/ai-anomaly-detector' resolution: - integrity: sha512-05ENO24fcTEwd62pVrbaU8gnNFJkYZuxbULt2/4U0rS7Zd+J4podHLmt/TDzgPY4f37CLsJQhepH1SF0vFuR0g== + integrity: sha512-PMKbRx0Y1k+Uma23AFAqOggkqpcAo7QIDg5qVef24SrtJBA4LjUQukbCLMmtcL2Y8fhzBw/3WFmJQSq/GMfFUg== tarball: file:projects/ai-anomaly-detector.tgz version: 0.0.0 file:projects/ai-document-translator.tgz: @@ -8395,7 +8395,7 @@ packages: dev: false name: '@rush-temp/ai-document-translator' resolution: - integrity: sha512-ZY3/5DXcK1oCGeZ2ZL0fsoQuUPO3/refq6JE2USAh1aicNbyUOGy9MbRW9IUFoMWK8WUPB6b457ys+5RLFi8Fg== + integrity: sha512-IzEwMBXTUYe48UJSbAhbemKiVE6/y54KMHUucFE2JkGuqIBa2Ci4J6W4mrFMICX5yhweisFxOxWUF7X4P1wjHw== tarball: file:projects/ai-document-translator.tgz version: 0.0.0 file:projects/ai-form-recognizer.tgz: @@ -8438,7 +8438,7 @@ packages: dev: false name: '@rush-temp/ai-form-recognizer' resolution: - integrity: sha512-63BpAIOLtsD/Dzv65VUa0Ilp/Wdlvplq+ZQPhFp74xHG+JOxU3K99LQNMlhjuMbN1yWbuVrfA/021AH6MhUYHw== + integrity: sha512-8mpClkUfSZIt1zJfQXdHizP6fpP0KtewY7RPCBxoHaS6fx8SK8htStAn78q20U4sl6frD/e/ip/ttsbwu1SEbA== tarball: file:projects/ai-form-recognizer.tgz version: 0.0.0 file:projects/ai-metrics-advisor.tgz: @@ -8483,7 +8483,7 @@ packages: dev: false name: '@rush-temp/ai-metrics-advisor' resolution: - integrity: sha512-avbOY5xtCp2MwPvWZKHVtgvdmmei4Zd8PMLkIwo5dwVLat30tnBkoLzQs8wyOMQGUtYOTH2KsTTjAFSqC0JvLA== + integrity: sha512-D5YpJuipIiFj3/e7cLqWwpipMygDpLc95WiPI05Otv2OOYbNoWJTJTCfoqqv4ileT4BVGsdilnW1SZsp5HX2tA== tarball: file:projects/ai-metrics-advisor.tgz version: 0.0.0 file:projects/ai-text-analytics.tgz: @@ -8529,7 +8529,7 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-lbwjbtzKBxhaHEzLPkUEzQxRRYLeMWhETlZ24JtDojF5/SR77KNfr0ZPGCbwNw7t02Ugr99S8/R1ypDcu4D4mw== + integrity: sha512-W4JVfxmJk3JLpEPpTznb+LQSNckSvz40muA5H7egoMY7gLubinQri5m5jVOYFkO2tBV98gI/8t/Rw8QVC3ip2Q== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: @@ -8582,7 +8582,7 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-fNgUdZxhWIakOlA6KXLJBiKe7YYYz4r4RqYjec9saLlaXUV01JhFLiBJkBbLMCuxts/cAZmBxKTd6m0vct5PqA== + integrity: sha512-g4sZpBcubzg/mDgUtVc/eaQFqC0zeSFKcOZnly3IE2HgNJtt17ogJcI2ksSWpEFzcR3y6UblCgV2EXGYKvARYQ== tarball: file:projects/app-configuration.tgz version: 0.0.0 file:projects/arm-appservice.tgz: @@ -8933,7 +8933,7 @@ packages: dev: false name: '@rush-temp/attestation' resolution: - integrity: sha512-zx8djgQJHlI94UIzMfF4EF1t9RJN2IHkeaIu9abXStBBetsdfQgLVqPhpQ3IAqDMD2tTznSkvWbMnlIiwL24zA== + integrity: sha512-hwq2gatjuRwwGiomTmGewT2YRMPVoWon2uUoZDZt+waWlYZv82gi6479oDGNumoLF6TBOi+GkrWydbaXQ2E+nw== tarball: file:projects/attestation.tgz version: 0.0.0 file:projects/communication-chat.tgz: @@ -8991,7 +8991,7 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-iK/tanehdcoDEh8n3iLnc33ancPWTq92R7tTT6KpXhhj/j/cw77w0GXJEjPo0NOAIxFn8lGLZYq0Grkrr8lg2g== + integrity: sha512-KszXOiQ6lNUS3PlMbXnixpPy/OIxd6pVxjgG8jiMcB7LwjLZMiLHqSzAS6dpbJOLUtr5ZQGChSKYgRhkXmMzCg== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: @@ -9098,7 +9098,7 @@ packages: dev: false name: '@rush-temp/communication-identity' resolution: - integrity: sha512-H7Nvbg9zQSTMqj7fct6mndyA1gtgGRZCo70vNfEVRsrR91DBpNmn84v3Cm0rd+z1BAZBDV32BBgNxVn5c7GZ9g== + integrity: sha512-yGo9dFpYLG4NlBcYUcgTVzjkPB5jhGQVP+VCir1ofGj/LwPZJIHYiJfrOGiyepxn9ZZYVELmMJSvSkwASkkBtg== tarball: file:projects/communication-identity.tgz version: 0.0.0 file:projects/communication-network-traversal.tgz: @@ -9152,7 +9152,7 @@ packages: dev: false name: '@rush-temp/communication-network-traversal' resolution: - integrity: sha512-cobZI4V/JCxaqy9iXtGMA7vMTPaZZM/xF+gwzhAIltv6jB++Tso+REchPQBVGu8GLbiTkqhL3nWVDVmvwZaZ0Q== + integrity: sha512-IaZgF78wrRmTbECUZFnv9bJzukGvbdY5t062yHd8R67XwxbIZuUFRZUu5GjXkS0rq4xWRfpeusRXfUsOX5xQ2A== tarball: file:projects/communication-network-traversal.tgz version: 0.0.0 file:projects/communication-phone-numbers.tgz: @@ -9205,7 +9205,7 @@ packages: dev: false name: '@rush-temp/communication-phone-numbers' resolution: - integrity: sha512-D5fyNkyCWhN4frTbBBAbsBBzdUN2Y5/6BZqxZWQHyN5OzY5RXVsQ3B3rm2vRkUkQy39eJh4mERYL2kS/U+LHew== + integrity: sha512-mWYCJhDH+j4Z3fpnWSjMBzM3LkQ05p1eU/VcGM9KEGnqNmwPuwLjNgNwds//gVF9tCWRaWyrJdAl96SywJqi8g== tarball: file:projects/communication-phone-numbers.tgz version: 0.0.0 file:projects/communication-sms.tgz: @@ -9257,7 +9257,7 @@ packages: dev: false name: '@rush-temp/communication-sms' resolution: - integrity: sha512-01aFxj59g7BFI3qe6gVOBIrJvSvYJXNo1iKEz85vXfZ/sBR1MKpYeStE1MfNeUtRavadt7Z6Z3FQvKolITGJWQ== + integrity: sha512-DqMrWo8w5sAh+oF+KLVFEMDY53GrTfoGVUEk6/yyIc71vF8tDOtLDaIAkkE7otWPCwjiTEJ0sLC1sH5nnXDg/A== tarball: file:projects/communication-sms.tgz version: 0.0.0 file:projects/confidential-ledger.tgz: @@ -9299,7 +9299,7 @@ packages: dev: false name: '@rush-temp/confidential-ledger' resolution: - integrity: sha512-EUZ7hrGyJG/Jb/V4Mkwmf+SRdwETCvaOlu0IjKTGMmKXSZamdY+AUfP+C+r0iVG5e337V6N4CU+aky5RNdiYPQ== + integrity: sha512-45GvfLJPR9/2EHGurNlqEjXLpJPSA0TWViAhKkAG3e3jlZxFRIBVhJgmjZ4ges76gQfWjBh0hK7H4F6jnNcEWw== tarball: file:projects/confidential-ledger.tgz version: 0.0.0 file:projects/container-registry.tgz: @@ -9342,7 +9342,7 @@ packages: dev: false name: '@rush-temp/container-registry' resolution: - integrity: sha512-SyFGUKFqwKOHPoeWsBqaV6xgDg1VnxkSEEWN927eg/J9/G8hT/HIzp4NSBNVP+MWMZCAkc3TGDZxIAqg1xdyLw== + integrity: sha512-QW0HTlnp4PdfVUy2/VEsWqz19e/amM39pmBaP5QnWpnsvA4B9Ag4+ODV1Gs1+2I+Z6V3TFQ2OsxGvd/c4alQzQ== tarball: file:projects/container-registry.tgz version: 0.0.0 file:projects/core-amqp.tgz: @@ -10037,7 +10037,7 @@ packages: dev: false name: '@rush-temp/data-tables' resolution: - integrity: sha512-cWqpW1JbLdwesXg6WQtRh/9SKSxAWpwelOfZp+haQYOCHXdmYbc9I0f5fLqydvBmWj8VAH4p8hfuzHbgyqtLvg== + integrity: sha512-Kx/NWvqkZQkmiSxto/h2QpIKuLSgj3AvFnGkx0+uQ3VM1sve4ie2pAVGwbcglNaBNB77eOuX/O0qRTMZXpP8zA== tarball: file:projects/data-tables.tgz version: 0.0.0 file:projects/dev-tool.tgz: @@ -10129,7 +10129,7 @@ packages: dev: false name: '@rush-temp/digital-twins-core' resolution: - integrity: sha512-IOXrMpOp6Z4NNY5eaomj603LAAh7cdsv2TqmJU+Z58tQ3HCL+TI30zpv04dzmfQb1zfzb0waZTAWhVwOqJqorg== + integrity: sha512-Jgnp5dQnW57aVbd2XHt6hO48rWI/7wX6twY6MSMoKjjrVIQbIU8a6B0jEhIBrj6g0I/HOfUpJYhwcklXNkSCGg== tarball: file:projects/digital-twins-core.tgz version: 0.0.0 file:projects/eslint-plugin-azure-sdk.tgz: @@ -10344,7 +10344,7 @@ packages: dev: false name: '@rush-temp/eventgrid' resolution: - integrity: sha512-suP2/agdK5a7rE8HX+kDc+/YsomXYI0fMWyvcBYgpSVuY+ZJFuvTY6LGw0dCiPjHNMpSEkiGK8xFjcYiwzeXRA== + integrity: sha512-Ztvxdc1a/BSN8OplIn88u+miQQ7RXvF3unoe4XEU8N/crvHDzU8vLfwVgYY6z/0bcMylG54f93yrZN8RPQpXNg== tarball: file:projects/eventgrid.tgz version: 0.0.0 file:projects/eventhubs-checkpointstore-blob.tgz: @@ -10496,7 +10496,7 @@ packages: dev: false name: '@rush-temp/identity-cache-persistence' resolution: - integrity: sha512-SnI7/QeGdOAeOnjYAwtBChnZYOT9Z/Qjvqk4Qkb94ILK+8izD29cAyWUp/H+YAuWlRev/Zxt6v1QR5rzH57l1w== + integrity: sha512-ejZjjvuA7bn2vnNbweUddzpo2gxK+MmZ8Ik2OadVCohfxZDMj6yars0IVIEdWyy/didQgxXJfrpwSbKPR0J79g== tarball: file:projects/identity-cache-persistence.tgz version: 0.0.0 file:projects/identity-vscode.tgz: @@ -10529,7 +10529,7 @@ packages: dev: false name: '@rush-temp/identity-vscode' resolution: - integrity: sha512-lFuhkhby9+WPPaubv7+LKPp+8s5EsaviysX8/U87It24uJOfCBCOj3iQHY+LwexMoBAV7phnSK4OyWu93gPQnQ== + integrity: sha512-KZjlsTLU+xul5HxhXQXUBM5F53dRyafrD7a0lrBrhBnByqGIj5Touu+T44AwHhGy98aWHqIB84Ol2rVf9aZRRg== tarball: file:projects/identity-vscode.tgz version: 0.0.0 file:projects/identity.tgz: @@ -10581,7 +10581,7 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-lrMQMdCGOXdqtQAUIeoriX9Q9jYDJwoytNjfHLcRBDSLnXkFdCx22rus30wxahi7ep/TmhRCBWiwAZbos/zrwg== + integrity: sha512-4HJFHIzWuE+bQl5Kl0DmMkO+/SjlOZfxb3xzPa5c2WhV2jZFDw08dOsBWh4zXM9BthgsTFoh5PBWEUgPc4BUwQ== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: @@ -10657,7 +10657,7 @@ packages: dev: false name: '@rush-temp/iot-modelsrepository' resolution: - integrity: sha512-iUU687QdDdmA8oCN9f+SO7frInSu4tmqO3gZbb3ydUG26aimniEjgxro+1iBicDL1YMBMbraVsBqDwz39xIsvg== + integrity: sha512-d5YLXruwv6q70O6pgy46evGS0v/S4IRARp5m0qiMQBAdkHWrzANWog6p3k9SonF9rUFmVBrVo12UVADkh7KGjQ== tarball: file:projects/iot-modelsrepository.tgz version: 0.0.0 file:projects/keyvault-admin.tgz: @@ -10702,7 +10702,7 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-jNv8VwZFDHYzB7croMGVhILNMJBmAqP4s4azNwnt+D+g3yLNw6jfV9hQkJIoTxqkO2MPuzigpM+uU4zTWGSiZw== + integrity: sha512-5VJOXIOhrGpxSiZVtgjMVEcUSWh1g8jYZouEgPQ4rpoW6z0RxiL8r+/11qgNILgGlf0FXj3PaN8brAT6fx0IGQ== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: @@ -10759,7 +10759,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-CsAmbAoT4mTz9BstSyo7cLuvFTaoCquPn/aSs1w3bAmn+fcl2Q1WP1RO7AXw6RcH2whD2A8zVGhnZHfWanUg7g== + integrity: sha512-Q5YE/tawIsoW1FqD+IocA3e/wOvzOX+e7vVxMmcDzOCTCEIkeF3bSlR+wLCqYlcSVqIxcwmbkVQVciGdR4muXw== tarball: file:projects/keyvault-certificates.tgz version: 0.0.0 file:projects/keyvault-common.tgz: @@ -10833,7 +10833,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-PFPW+cikOyiU1XhOeyb0yQj2Zijl9CG9sFGjoogY7wcfFSks6v5SP90jJAXEHTP7L+MtRIWciINJ6e+uRAgfYQ== + integrity: sha512-Yy/GVj1lRXeYb+42CeWl74Wt6F7SzAkHCfcvamkhff/og7vqq2dhvP70zLipVADCF8qhdaPE/LK6tkApWP4Hww== tarball: file:projects/keyvault-keys.tgz version: 0.0.0 file:projects/keyvault-secrets.tgz: @@ -10890,7 +10890,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-kRa9GCv0VNGIlGHyeBrmMGRusgVaOcA2ja0GN1Pe27dQ81KxLzp1HnNgrvwWQIl8rtzxnOQdQxP5I0JkOo+4jg== + integrity: sha512-GNupPruMoN/gCYnSpvvcbBHb5B526EcgqdAFQIaenRisDeqUUcfD4qTfImV+Yzd1Sabm1o7rlVHlaQV/fIEVVA== tarball: file:projects/keyvault-secrets.tgz version: 0.0.0 file:projects/logger.tgz: @@ -10974,7 +10974,7 @@ packages: dev: false name: '@rush-temp/mixed-reality-authentication' resolution: - integrity: sha512-MkDOVDN8J/hqehxwB3Ow7DbduV3cYYvmwH95XEZA2ckD6e7NokCDzBbdLiS14hFVhP+spA9GAsqXoqS/Z+y7Ag== + integrity: sha512-ErptpvBcEPQAfndtyGGq9V2o2/LBnk3udcH1KZDWWMrj2P0YCeY4GClQexhIu7uGMqQs3rYlxTbRXXPqXOfaLQ== tarball: file:projects/mixed-reality-authentication.tgz version: 0.0.0 file:projects/mixed-reality-remote-rendering.tgz: @@ -11019,7 +11019,7 @@ packages: dev: false name: '@rush-temp/mixed-reality-remote-rendering' resolution: - integrity: sha512-xc65YPH8+ITdOcyjH7t0PN8ee7Znf82odclurVIwJLgBkoKLdvkd8jAXXUbgeBoQ1Ma1H+PFaLhI8V4bo/yXJw== + integrity: sha512-6lrEwlNs+K79brLQYvizXCb/5II9iFYjZABJT/AX7YS8gzmHbC2iR+M5MbxgxoXYzK9x+GVQLWwqwOZ0fwz/qg== tarball: file:projects/mixed-reality-remote-rendering.tgz version: 0.0.0 file:projects/mock-hub.tgz: @@ -11118,7 +11118,7 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-fnatli/y9QgLOQPIPd9kUw11qRXlM5fBisSJhxAD+m+SlrhOsvr0CjOacesQwj4quNSFApSg8qp6p0Fa97dmmw== + integrity: sha512-k5TOVtcLQ517iXlrSvW8lMIvzv55ozYTI/bDqMFfyn9WhlLuWo7A+Kyx2XwN45hAZu2dgicsN5Z7pl+YdQWgRw== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: @@ -11425,7 +11425,7 @@ packages: dev: false name: '@rush-temp/purview-account' resolution: - integrity: sha512-sZE8jjJ7JTiJ8dLNBN/RC1ATd15e/n7bXPWSUnmLmKdw1DRmJ7ga2R1CBZb8HVbHBRHuJCf1A04LXuYeyndlYQ== + integrity: sha512-if5JygVMi5EaFVhbOVYimljQS6RFD/AbV1lQe4zIJ2W/gMAzTTkb4zUwX3wUbTDuUE4Mzn6fnasa139O1luSsA== tarball: file:projects/purview-account.tgz version: 0.0.0 file:projects/purview-catalog.tgz: @@ -11468,7 +11468,7 @@ packages: dev: false name: '@rush-temp/purview-catalog' resolution: - integrity: sha512-q+6z0t3l58Kk5cSAprPa0Mwenfe25SafEDzBvlIEvnhnUNUGarIuujMMyFZQl2kA/BD0AR2BViAqjmoIWNLstQ== + integrity: sha512-A6d6LOn/IF/XQhtWl/O/PrdkXsIDLWDLypn2hTE5tZCIqgRXFXdnvL1JYnxMc4Ov+z5Tj0I6OCwBjRCw50uZ0g== tarball: file:projects/purview-catalog.tgz version: 0.0.0 file:projects/purview-scanning.tgz: @@ -11511,7 +11511,7 @@ packages: dev: false name: '@rush-temp/purview-scanning' resolution: - integrity: sha512-y31TKyCDetv3Otry7fTLQekbusRP9t3zTur4bJURy6QQv3lmFzXRaeq0zlKu4TUgcC0eF8QIM/oGx5x81TFr2w== + integrity: sha512-U0BqvzNxYHfqTIpxFfs48K55AOgH9utGrS73zZVPI9dPSc4WywkLsuxQrzOou86FJ5B44Khjp8ae9pZPj672qw== tarball: file:projects/purview-scanning.tgz version: 0.0.0 file:projects/quantum-jobs.tgz: @@ -11565,7 +11565,7 @@ packages: dev: false name: '@rush-temp/quantum-jobs' resolution: - integrity: sha512-h+6B6w9AE1mQWWhaThJVKkARgsrLHZ3VbGAXbRv1fV9tl87XAqeQXFvYc8jf+/m3LN08G5d+T2zV5PURVM9Icw== + integrity: sha512-G/mUPnY6OwXV++eqRNGowi2C3aBIL5lHqUY2sLAa/N+y0UpCq6BE6Ob7kRVM68AsAz8QlmiFZ1k/0ot+raN3Rw== tarball: file:projects/quantum-jobs.tgz version: 0.0.0 file:projects/schema-registry-avro.tgz: @@ -11620,7 +11620,7 @@ packages: dev: false name: '@rush-temp/schema-registry-avro' resolution: - integrity: sha512-y3veLp66pwbqa1gFwSTr0+WIOK6nxycdwu2eVbmxiktuhDlH9uksErsjkFqBWr08LY+LeAhxXlemEznDkD1lHw== + integrity: sha512-b/4qmNi7UubdfLQaKucMttTKHZbfggm1CTjDo2PLNotEvnOGZqYvC9553kyjxLJ/mnMeUoE4SXhtRCikP/386A== tarball: file:projects/schema-registry-avro.tgz version: 0.0.0 file:projects/schema-registry.tgz: @@ -11662,7 +11662,7 @@ packages: dev: false name: '@rush-temp/schema-registry' resolution: - integrity: sha512-kpM+lfpm+RUijWehDdUqZX2Ef5fE484On6tr56KO0B84Tqw0goVpjFpFop8SVQfaRLVfCe78rZVuuDNNaIAsPQ== + integrity: sha512-Wa0ZNJ563uHSOi4xiKpFUhWOZc8yXbeXvHm4xvunwe48Ow2+1Yahgc1TOVjFh8mJt3NdmnD6ufgneunTviNNoA== tarball: file:projects/schema-registry.tgz version: 0.0.0 file:projects/search-documents.tgz: @@ -11716,7 +11716,7 @@ packages: dev: false name: '@rush-temp/search-documents' resolution: - integrity: sha512-R5XMdxTSlVmE6gEBgEWvYVD0XdFPYkWh1HCGDfGmmLuLJLBOKFDSH1t2LjSX2q6ODKIA0R1uJk+qRcO/YfNfDQ== + integrity: sha512-rHK5OgZ6DWp11fqVLskuJ3TfG4V2AzQq+kqPIgtb+NfZWEs/YvOxVnthRcjoR1p593E4/+NnDQNKYaqioTxe9g== tarball: file:projects/search-documents.tgz version: 0.0.0 file:projects/service-bus.tgz: @@ -11848,7 +11848,7 @@ packages: dev: false name: '@rush-temp/storage-blob-changefeed' resolution: - integrity: sha512-l2xB0JrDXVl0ccsDQF6HUdJMLrgWrlf+7kjSIS6D/aQubfT9Jcci1Q6x9I0Hu+V0Ckd0l9RntJlH5neBgeYGJw== + integrity: sha512-G/Hwee3GcknpzSPSoeVh4/mG4JZOmfJlWydJdKikYaq7JKZSRNLMumEmJ56lKd7W2yvfxhW3PVj9pzN0U9IPNw== tarball: file:projects/storage-blob-changefeed.tgz version: 0.0.0 file:projects/storage-blob.tgz: @@ -11906,7 +11906,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-79ne93qGeiT7gkt5g7wlYJIuXo7+s7Knf+az2+uAIpZmy3zjylTNhlHligX6CegULigzJXa8JccDPjLQvkNDQQ== + integrity: sha512-XyB6Qg8myB0G/B1P34sac3b/50rjIHRLt5CWxFlLf4nOghNYsrGlUNueeppIIM/08hkmhd0t02c5LV0EONISfA== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: @@ -11965,7 +11965,7 @@ packages: dev: false name: '@rush-temp/storage-file-datalake' resolution: - integrity: sha512-At3RuFNf8sSWItc+cMILsylwyp2JM8WVIj31ju8L8cihiU+6iUqVCDOaGZUKFfLEITRZpCJikzs/BWaHJaN/2g== + integrity: sha512-WCeWtnILO3Ajpdxx50PomsapVDwM54SkB+S/ynC/+njFJZ3Pj48r3kPTzY8ePaKWh7sc5fPMRIc/zhGGVNTjpg== tarball: file:projects/storage-file-datalake.tgz version: 0.0.0 file:projects/storage-file-share.tgz: @@ -12020,7 +12020,7 @@ packages: dev: false name: '@rush-temp/storage-file-share' resolution: - integrity: sha512-pUtdyPmXXFjtTcvzkFiLve6joGVaK/CtnIh3xJ1tiJ2zGVzf/ohnn/S6Y5/Ts4kG0LgRDqblea/G3HXLz5B5NA== + integrity: sha512-SlvaV25PU+2taCkeIhWjDcSDwBKJ4wIuPws9PS6xt1J+1H2Eq1XRa/v8KR1Ik2FoUrSmSD/cAZqau+a1OLMxkw== tarball: file:projects/storage-file-share.tgz version: 0.0.0 file:projects/storage-internal-avro.tgz: @@ -12071,7 +12071,7 @@ packages: dev: false name: '@rush-temp/storage-internal-avro' resolution: - integrity: sha512-jk3mCVJO6/9QwZ8h127xLa4d1UsA/SRZKKHKVnfu1pp4/f8kmw3ft1p+JGf/rWyasuEDzcb/adPH+T1jYflnQw== + integrity: sha512-HFJeL5JFJyCLfvq9jaSr3S1oZ7TOlJHxDnnuLgC+XREgoGLYrTmasV3PTCzKC7j6tp8zV829QxZC96rQZb09VA== tarball: file:projects/storage-internal-avro.tgz version: 0.0.0 file:projects/storage-queue.tgz: @@ -12125,7 +12125,7 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-5li7TcCHHn93gnKPHNCcUhiCasP3LPQx3/FV6723lKh/3d5Df0b/XoVZhd1Z3WvttUVVKh0XUlfJ16XhwLhWiw== + integrity: sha512-haQF+RdrVx7dUSY0ovFz9KA+8YQfjoeIyEKTQSigmFcn4xM+e7yEW895fdry3BZN+ntM+NMML5fmdXDC4PMnTQ== tarball: file:projects/storage-queue.tgz version: 0.0.0 file:projects/synapse-access-control.tgz: @@ -12172,7 +12172,7 @@ packages: dev: false name: '@rush-temp/synapse-access-control' resolution: - integrity: sha512-RVfq3bQX8ZHaS1iulhPjb9R6OrbBAkzNMRqMK6e5vzQYEj5ukpbhUzvdtIyR1xsv1jqlmkqt0DciTj0detMpuA== + integrity: sha512-yJXsqdg29ZNQPCbGvixHash2uIt3mKo0GEQtCNy7g3WHc5aXhl5KKYfdItrbBsCV5nuywjsfYYx53UA7L3K1Rg== tarball: file:projects/synapse-access-control.tgz version: 0.0.0 file:projects/synapse-artifacts.tgz: @@ -12219,7 +12219,7 @@ packages: dev: false name: '@rush-temp/synapse-artifacts' resolution: - integrity: sha512-IcdI8qzBTUKUUCyLMmD26R31qh42a3OSjf105lSHNzEtPUw7kEcnQxbUmJUxkZQIP4Fyngz3Pl6s+ug5fFGQMw== + integrity: sha512-3Xk1scbDu/X4UU8Dza5Kopo20f0/11OFlYL47DdMpfeDHBh5gWkV2P20fRaND0aNnCKnvffcLaGw1XpbwyLtew== tarball: file:projects/synapse-artifacts.tgz version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: @@ -12261,7 +12261,7 @@ packages: dev: false name: '@rush-temp/synapse-managed-private-endpoints' resolution: - integrity: sha512-VM1biqEOLBm5HgM5Vgr7KKpR6qfk0wYn78aW5HGIYHDSapRJusD0iLAA2OO+3UZKCTi90pujyR3qM6TEhp9omA== + integrity: sha512-TKjMIigqql+UxGPJrm5kuMZxipcpI3ngLT/zX6zrtyJwLp5ZWP6yk8v5HEP4cMEsUfmFci/jQGnHn2yyFiM5bw== tarball: file:projects/synapse-managed-private-endpoints.tgz version: 0.0.0 file:projects/synapse-monitoring.tgz: @@ -12323,7 +12323,7 @@ packages: dev: false name: '@rush-temp/synapse-spark' resolution: - integrity: sha512-pCc+qnb3gawpP7d+zeU9eeZLvE0iRC0xJBG2oBcz+5VnBvrfTGCnD/iiTZri7Xg/MyorR4HbAa9FB3yPSIQV7A== + integrity: sha512-y/4UcUJhMtjWwK6lCbdvnyuYGzEdRyPwcoruOdsLXd9NlDykuM3TSpDXalYPclU1q2Fl9Zj25vJLaZFyvwuX3g== tarball: file:projects/synapse-spark.tgz version: 0.0.0 file:projects/template.tgz: @@ -12369,32 +12369,10 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-1lpg/gFXvcXfaJjoIsPXUvrADDF/FgXYq3/Ab8V7pnFHw+DsAA1aQYqZwQms51w1T6gZS8w0o8csvfxBuPM5Gg== + integrity: sha512-Lxk07hkq8XQsOcKBYKnoR/mlC3Fb5T5uFvaatoZLvKY5LWsNewhJyq2GG/AexHT5HTYHU45Vquf66pCGmbmlBg== tarball: file:projects/template.tgz version: 0.0.0 - file:projects/test-utils-perfstress.tgz: - dependencies: - '@types/minimist': 1.2.2 - '@types/node': 12.20.20 - '@types/node-fetch': 2.5.12 - eslint: 7.32.0 - karma: 6.3.4 - karma-chrome-launcher: 3.1.0 - karma-coverage: 2.0.3 - karma-env-preprocessor: 0.1.1 - minimist: 1.2.5 - node-fetch: 2.6.1 - prettier: 1.19.1 - rimraf: 3.0.2 - tslib: 2.3.1 - typescript: 4.2.4 - dev: false - name: '@rush-temp/test-utils-perfstress' - resolution: - integrity: sha512-fTItTYBBwhhtVdOQ5qASInrtqY+mDuDqE9NCvItNO3FH8yp/DP67/q3g6QpEwimVRNVCIMt/EKikSFngBugZXQ== - tarball: file:projects/test-utils-perfstress.tgz - version: 0.0.0 - file:projects/test-utils-recorder.tgz: + file:projects/test-recorder.tgz: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -12446,10 +12424,32 @@ packages: typescript: 4.2.4 xhr-mock: 2.5.1 dev: false - name: '@rush-temp/test-utils-recorder' + name: '@rush-temp/test-recorder' resolution: - integrity: sha512-o+4bABzOmiCzaivsCAZk8ZCI3177CpzJVB02UtvjjKHEnqpdtweFI5V//CEh7Nrv4FVTyHACqe+r8wSPC6igjQ== - tarball: file:projects/test-utils-recorder.tgz + integrity: sha512-ZTmRVinXGlpzOv3u/caOIDcTsyhRllsOxfNUm6Q5gWoKWkWGk+YLt3Zs5GjSqc0grmGD6cN2LQqMtfIT51WpRA== + tarball: file:projects/test-recorder.tgz + version: 0.0.0 + file:projects/test-utils-perfstress.tgz: + dependencies: + '@types/minimist': 1.2.2 + '@types/node': 12.20.20 + '@types/node-fetch': 2.5.12 + eslint: 7.32.0 + karma: 6.3.4 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.0.3 + karma-env-preprocessor: 0.1.1 + minimist: 1.2.5 + node-fetch: 2.6.1 + prettier: 1.19.1 + rimraf: 3.0.2 + tslib: 2.3.1 + typescript: 4.2.4 + dev: false + name: '@rush-temp/test-utils-perfstress' + resolution: + integrity: sha512-fTItTYBBwhhtVdOQ5qASInrtqY+mDuDqE9NCvItNO3FH8yp/DP67/q3g6QpEwimVRNVCIMt/EKikSFngBugZXQ== + tarball: file:projects/test-utils-perfstress.tgz version: 0.0.0 file:projects/test-utils.tgz: dependencies: @@ -12477,7 +12477,7 @@ packages: dev: false name: '@rush-temp/test-utils' resolution: - integrity: sha512-1nFHW6i1VskqJOs13yNZadavfaZwANSmI3f8+L0BrTQTz4ivAtIeMKBqQYYISFiM+yon+XOzf5nL+I9626+fQQ== + integrity: sha512-KYPqGE75cahX+es1MnTMiFT3HkhcVE0xdDnNC2RUsyvwWAxewMbXns2ozRdYuR66khLy6BuVwPK6CqQPAtlqjw== tarball: file:projects/test-utils.tgz version: 0.0.0 file:projects/video-analyzer-edge.tgz: @@ -12579,7 +12579,7 @@ packages: dev: false name: '@rush-temp/web-pubsub-express' resolution: - integrity: sha512-h1letzNPy07Lrfu21NRXT3WkDbO5G4aS8C2zAWiL/3UEdHRNMHH30jlWb3/49ExPeSOHvkzmo5O0IBmy2ulWCg== + integrity: sha512-DWN+tvHBvOlkLvyk+79T7i+4xq3iVPaPT85kIscy3ekYgFB5BHtnUKRrAMnKER8OgZCpiwaykIXL/Py7VZ/zBQ== tarball: file:projects/web-pubsub-express.tgz version: 0.0.0 file:projects/web-pubsub.tgz: @@ -12637,7 +12637,7 @@ packages: dev: false name: '@rush-temp/web-pubsub' resolution: - integrity: sha512-ZtXKYnWBG3udDVIsSP1wmrrBsI189ObU3o+9k0GHASM/HLi88LUD5g+tNcIgf+4Kyun0mFr9ARzm3exABvJGbA== + integrity: sha512-VL4BhP6Jp6xNgbpo4OZ4SFYdCBiTdoMCGzsoy4S0aJLqAxtSzh8qsVA1KJ+HvdeHVcjLdJw13Jdjb/gbCzlCKQ== tarball: file:projects/web-pubsub.tgz version: 0.0.0 specifiers: @@ -12749,9 +12749,9 @@ specifiers: '@rush-temp/synapse-monitoring': file:./projects/synapse-monitoring.tgz '@rush-temp/synapse-spark': file:./projects/synapse-spark.tgz '@rush-temp/template': file:./projects/template.tgz + '@rush-temp/test-recorder': file:./projects/test-recorder.tgz '@rush-temp/test-utils': file:./projects/test-utils.tgz '@rush-temp/test-utils-perfstress': file:./projects/test-utils-perfstress.tgz - '@rush-temp/test-utils-recorder': file:./projects/test-utils-recorder.tgz '@rush-temp/video-analyzer-edge': file:./projects/video-analyzer-edge.tgz '@rush-temp/web-pubsub': file:./projects/web-pubsub.tgz '@rush-temp/web-pubsub-express': file:./projects/web-pubsub-express.tgz diff --git a/rush.json b/rush.json index 6ce374a21c42..99268726adc0 100644 --- a/rush.json +++ b/rush.json @@ -692,7 +692,7 @@ "versionPolicyName": "utility" }, { - "packageName": "@azure/test-utils-recorder", + "packageName": "@azure-tools/test-recorder", "projectFolder": "sdk/test-utils/recorder", "versionPolicyName": "utility" }, @@ -892,4 +892,4 @@ "versionPolicyName": "management" } ] -} \ No newline at end of file +} diff --git a/sdk/agrifood/agrifood-farming-rest/karma.conf.js b/sdk/agrifood/agrifood-farming-rest/karma.conf.js index 4381869346ce..b7e613985f60 100644 --- a/sdk/agrifood/agrifood-farming-rest/karma.conf.js +++ b/sdk/agrifood/agrifood-farming-rest/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode, -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function (config) { config.set({ diff --git a/sdk/agrifood/agrifood-farming-rest/package.json b/sdk/agrifood/agrifood-farming-rest/package.json index 1fff20716b26..6461019d0757 100644 --- a/sdk/agrifood/agrifood-farming-rest/package.json +++ b/sdk/agrifood/agrifood-farming-rest/package.json @@ -96,7 +96,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/agrifood/agrifood-farming-rest/test/public/farmHeirarchy.spec.ts b/sdk/agrifood/agrifood-farming-rest/test/public/farmHeirarchy.spec.ts index d6b87b515205..64c49963fcc5 100644 --- a/sdk/agrifood/agrifood-farming-rest/test/public/farmHeirarchy.spec.ts +++ b/sdk/agrifood/agrifood-farming-rest/test/public/farmHeirarchy.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { FarmBeatsRestClient, getPoller } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-util"; import { assert } from "chai"; diff --git a/sdk/agrifood/agrifood-farming-rest/test/public/sateliteFlow.spec.ts b/sdk/agrifood/agrifood-farming-rest/test/public/sateliteFlow.spec.ts index 8a2fc3b4db9f..94333e124312 100644 --- a/sdk/agrifood/agrifood-farming-rest/test/public/sateliteFlow.spec.ts +++ b/sdk/agrifood/agrifood-farming-rest/test/public/sateliteFlow.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { FarmBeatsRestClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts b/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts index ffe9c1cd6ebe..326b919c13d6 100644 --- a/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts +++ b/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { FarmBeatsRestClient, Farmer, paginate } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/agrifood/agrifood-farming-rest/test/public/utils/recordedClient.ts b/sdk/agrifood/agrifood-farming-rest/test/public/utils/recordedClient.ts index d52c49b01a58..590991cdc5ce 100644 --- a/sdk/agrifood/agrifood-farming-rest/test/public/utils/recordedClient.ts +++ b/sdk/agrifood/agrifood-farming-rest/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import FarmBeats, { FarmBeatsRestClient } from "../../../src"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/anomalydetector/ai-anomaly-detector/karma.conf.js b/sdk/anomalydetector/ai-anomaly-detector/karma.conf.js index 0b040721fff7..e7dd6029b2af 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/karma.conf.js +++ b/sdk/anomalydetector/ai-anomaly-detector/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/anomalydetector/ai-anomaly-detector/package.json b/sdk/anomalydetector/ai-anomaly-detector/package.json index efd3c6331389..1d9a2acd4ad2 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/package.json @@ -110,7 +110,7 @@ "rollup-plugin-visualizer": "^4.0.4", "typescript": "~4.2.0", "util": "^0.12.1", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "typedoc": "0.15.2" }, "//sampleConfiguration": { diff --git a/sdk/anomalydetector/ai-anomaly-detector/test/anomalydetector.spec.ts b/sdk/anomalydetector/ai-anomaly-detector/test/anomalydetector.spec.ts index 4b44f893341e..f1839b60c26e 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/test/anomalydetector.spec.ts +++ b/sdk/anomalydetector/ai-anomaly-detector/test/anomalydetector.spec.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { Context } from "mocha"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { AnomalyDetectorClient } from "../src/AnomalyDetectorClient"; import { AzureKeyCredential } from "@azure/core-auth"; import { createRecordedAnomalyDetectorClient, testEnv } from "./utils/recordedClients"; diff --git a/sdk/anomalydetector/ai-anomaly-detector/test/utils/recordedClients.ts b/sdk/anomalydetector/ai-anomaly-detector/test/utils/recordedClients.ts index 1931d9847da8..6bc7d3fcabc0 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/test/utils/recordedClients.ts +++ b/sdk/anomalydetector/ai-anomaly-detector/test/utils/recordedClients.ts @@ -4,7 +4,7 @@ import { Context } from "mocha"; import * as dotenv from "dotenv"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { AnomalyDetectorClient } from "../../src/AnomalyDetectorClient"; diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index 039b549af1c6..1c154989d700 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -98,7 +98,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/keyvault-secrets": "^4.2.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-inject": "^4.0.0", diff --git a/sdk/appconfiguration/app-configuration/test/internal/http.spec.ts b/sdk/appconfiguration/app-configuration/test/internal/http.spec.ts index 32a476e598e3..f8049245f56b 100644 --- a/sdk/appconfiguration/app-configuration/test/internal/http.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/internal/http.spec.ts @@ -20,7 +20,7 @@ import { } from "../public/utils/testHelpers"; import * as chai from "chai"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("http request related tests", function() { diff --git a/sdk/appconfiguration/app-configuration/test/public/auth.spec.ts b/sdk/appconfiguration/app-configuration/test/public/auth.spec.ts index fe2a491391a9..864a98e2cb7a 100644 --- a/sdk/appconfiguration/app-configuration/test/public/auth.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/auth.spec.ts @@ -8,7 +8,7 @@ import { CredsAndEndpoint } from "./utils/testHelpers"; import * as assert from "assert"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("Authentication", () => { diff --git a/sdk/appconfiguration/app-configuration/test/public/etags.spec.ts b/sdk/appconfiguration/app-configuration/test/public/etags.spec.ts index 5791b84edaa9..02ceebc8ccc4 100644 --- a/sdk/appconfiguration/app-configuration/test/public/etags.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/etags.spec.ts @@ -9,7 +9,7 @@ import { assertThrowsRestError } from "./utils/testHelpers"; import * as assert from "assert"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("etags", () => { diff --git a/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts b/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts index 325e5bdffe11..780462b7a5a6 100644 --- a/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts @@ -10,7 +10,7 @@ import { featureFlagContentType, featureFlagPrefix } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; import { FeatureFlagValue, isFeatureFlag, parseFeatureFlag } from "../../src/featureFlag"; diff --git a/sdk/appconfiguration/app-configuration/test/public/index.readonlytests.spec.ts b/sdk/appconfiguration/app-configuration/test/public/index.readonlytests.spec.ts index 619996f7ae7c..02d9bec4e5aa 100644 --- a/sdk/appconfiguration/app-configuration/test/public/index.readonlytests.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/index.readonlytests.spec.ts @@ -10,7 +10,7 @@ import { } from "./utils/testHelpers"; import { AppConfigurationClient } from "../../src"; import * as assert from "assert"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("AppConfigurationClient (set|clear)ReadOnly", () => { diff --git a/sdk/appconfiguration/app-configuration/test/public/index.spec.ts b/sdk/appconfiguration/app-configuration/test/public/index.spec.ts index 732b68610ad3..fd9ecd86c298 100644 --- a/sdk/appconfiguration/app-configuration/test/public/index.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/index.spec.ts @@ -12,7 +12,7 @@ import { startRecorder } from "./utils/testHelpers"; import { AppConfigurationClient, ConfigurationSetting, ConfigurationSettingParam } from "../../src"; -import { Recorder, delay, isLiveMode } from "@azure/test-utils-recorder"; +import { Recorder, delay, isLiveMode } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("AppConfigurationClient", () => { diff --git a/sdk/appconfiguration/app-configuration/test/public/secretReference.spec.ts b/sdk/appconfiguration/app-configuration/test/public/secretReference.spec.ts index b0e7140fb4a9..d763796b34e2 100644 --- a/sdk/appconfiguration/app-configuration/test/public/secretReference.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/secretReference.spec.ts @@ -12,7 +12,7 @@ import { secretReferenceContentType, SecretReferenceValue } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("AppConfigurationClient - SecretReference", () => { diff --git a/sdk/appconfiguration/app-configuration/test/public/throwOrNotThrow.spec.ts b/sdk/appconfiguration/app-configuration/test/public/throwOrNotThrow.spec.ts index f48867c830ab..52d75689ff70 100644 --- a/sdk/appconfiguration/app-configuration/test/public/throwOrNotThrow.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/throwOrNotThrow.spec.ts @@ -9,7 +9,7 @@ import { startRecorder } from "./utils/testHelpers"; import * as assert from "assert"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; // There's been discussion on other teams about what errors are thrown when. This diff --git a/sdk/appconfiguration/app-configuration/test/public/utils/testHelpers.ts b/sdk/appconfiguration/app-configuration/test/public/utils/testHelpers.ts index b6e8f0273873..c9d2190a4576 100644 --- a/sdk/appconfiguration/app-configuration/test/public/utils/testHelpers.ts +++ b/sdk/appconfiguration/app-configuration/test/public/utils/testHelpers.ts @@ -14,7 +14,7 @@ import { RecorderEnvironmentSetup, record, Recorder -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import * as assert from "assert"; // allow loading from a .env file as an alternative to defining the variable diff --git a/sdk/attestation/attestation/karma.conf.js b/sdk/attestation/attestation/karma.conf.js index 65e5ce434fd2..b3a22fe1658e 100644 --- a/sdk/attestation/attestation/karma.conf.js +++ b/sdk/attestation/attestation/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/attestation/attestation/package.json b/sdk/attestation/attestation/package.json index ff20a905e864..c9bcdade928f 100644 --- a/sdk/attestation/attestation/package.json +++ b/sdk/attestation/attestation/package.json @@ -104,7 +104,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/attestation/attestation/test/browser/attestationTests.browser.spec.ts b/sdk/attestation/attestation/test/browser/attestationTests.browser.spec.ts index 04547dec0b92..6f49de27b5e0 100644 --- a/sdk/attestation/attestation/test/browser/attestationTests.browser.spec.ts +++ b/sdk/attestation/attestation/test/browser/attestationTests.browser.spec.ts @@ -6,7 +6,7 @@ import { Context } from "mocha"; import chaiPromises from "chai-as-promised"; chaiUse(chaiPromises); -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecordedAdminClient, diff --git a/sdk/attestation/attestation/test/public/attestationTests.spec.ts b/sdk/attestation/attestation/test/public/attestationTests.spec.ts index 0cb7f92a00f0..0898a9691b10 100644 --- a/sdk/attestation/attestation/test/public/attestationTests.spec.ts +++ b/sdk/attestation/attestation/test/public/attestationTests.spec.ts @@ -6,7 +6,7 @@ import { Context } from "mocha"; import chaiPromises from "chai-as-promised"; chaiUse(chaiPromises); -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecordedAdminClient, diff --git a/sdk/attestation/attestation/test/public/attestationTokenTests.spec.ts b/sdk/attestation/attestation/test/public/attestationTokenTests.spec.ts index f7a4e0c2b24c..d54964dd8677 100644 --- a/sdk/attestation/attestation/test/public/attestationTokenTests.spec.ts +++ b/sdk/attestation/attestation/test/public/attestationTokenTests.spec.ts @@ -10,7 +10,7 @@ import { Context } from "mocha"; import chaiPromises from "chai-as-promised"; chaiUse(chaiPromises); -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecorder } from "../utils/recordedClient"; diff --git a/sdk/attestation/attestation/test/public/policyGetSetTests.spec.ts b/sdk/attestation/attestation/test/public/policyGetSetTests.spec.ts index 05479c6f6c20..3af2d96e1a84 100644 --- a/sdk/attestation/attestation/test/public/policyGetSetTests.spec.ts +++ b/sdk/attestation/attestation/test/public/policyGetSetTests.spec.ts @@ -11,7 +11,7 @@ import chaiAsPromised from "chai-as-promised"; chaiUse(chaiAsPromised); -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecordedAdminClient, diff --git a/sdk/attestation/attestation/test/public/policyManagementGetSetTests.spec.ts b/sdk/attestation/attestation/test/public/policyManagementGetSetTests.spec.ts index efb04ddeba35..4239be91c1e5 100644 --- a/sdk/attestation/attestation/test/public/policyManagementGetSetTests.spec.ts +++ b/sdk/attestation/attestation/test/public/policyManagementGetSetTests.spec.ts @@ -6,7 +6,7 @@ import { Context } from "mocha"; import chaiAsPromised from "chai-as-promised"; chaiUse(chaiAsPromised); -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecordedAdminClient, diff --git a/sdk/attestation/attestation/test/public/tokenCertTests.spec.ts b/sdk/attestation/attestation/test/public/tokenCertTests.spec.ts index 5e8cab9593d3..cdba82a670a6 100644 --- a/sdk/attestation/attestation/test/public/tokenCertTests.spec.ts +++ b/sdk/attestation/attestation/test/public/tokenCertTests.spec.ts @@ -10,7 +10,7 @@ import { Context } from "mocha"; import chaiPromises from "chai-as-promised"; chaiUse(chaiPromises); -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecordedClient, createRecorder, getAttestationUri } from "../utils/recordedClient"; import { AttestationClient } from "../../src"; diff --git a/sdk/attestation/attestation/test/utils/recordedClient.ts b/sdk/attestation/attestation/test/utils/recordedClient.ts index 5417e5a6dc8b..87060f1ade57 100644 --- a/sdk/attestation/attestation/test/utils/recordedClient.ts +++ b/sdk/attestation/attestation/test/utils/recordedClient.ts @@ -10,7 +10,7 @@ import { record, RecorderEnvironmentSetup, isPlaybackMode -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { AttestationClient, diff --git a/sdk/batch/batch/karma.conf.js b/sdk/batch/batch/karma.conf.js index 44bdcc0d6096..8b641fb0bdc1 100644 --- a/sdk/batch/batch/karma.conf.js +++ b/sdk/batch/batch/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/batch/batch/test/utils/recordedClient.ts b/sdk/batch/batch/test/utils/recordedClient.ts index a4ac983876d0..57442617ffee 100644 --- a/sdk/batch/batch/test/utils/recordedClient.ts +++ b/sdk/batch/batch/test/utils/recordedClient.ts @@ -5,7 +5,7 @@ // import { Context } from "mocha"; -// import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +// import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; // import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import "./env"; diff --git a/sdk/communication/communication-chat/karma.conf.js b/sdk/communication/communication-chat/karma.conf.js index 4c9c122abc4c..4d42ef0da99e 100644 --- a/sdk/communication/communication-chat/karma.conf.js +++ b/sdk/communication/communication-chat/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index 3783d6d86cdb..0f68a7932c91 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -81,7 +81,7 @@ "@azure/communication-identity": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/communication/communication-chat/test/public/chatClient.spec.ts b/sdk/communication/communication-chat/test/public/chatClient.spec.ts index cc6526950036..fdeaa18b4398 100644 --- a/sdk/communication/communication-chat/test/public/chatClient.spec.ts +++ b/sdk/communication/communication-chat/test/public/chatClient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isLiveMode, Recorder } from "@azure/test-utils-recorder"; +import { isLiveMode, Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { ChatClient, ChatThreadClient } from "../../src"; import { createTestUser, createRecorder, createChatClient } from "./utils/recordedClient"; diff --git a/sdk/communication/communication-chat/test/public/chatThreadClient.spec.ts b/sdk/communication/communication-chat/test/public/chatThreadClient.spec.ts index a3351a950583..0799c8074cae 100644 --- a/sdk/communication/communication-chat/test/public/chatThreadClient.spec.ts +++ b/sdk/communication/communication-chat/test/public/chatThreadClient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { ChatClient, ChatThreadClient } from "../../src"; import { createTestUser, createRecorder, createChatClient } from "./utils/recordedClient"; diff --git a/sdk/communication/communication-chat/test/public/utils/recordedClient.ts b/sdk/communication/communication-chat/test/public/utils/recordedClient.ts index 5d0a9d292462..d9a87678f4f8 100644 --- a/sdk/communication/communication-chat/test/public/utils/recordedClient.ts +++ b/sdk/communication/communication-chat/test/public/utils/recordedClient.ts @@ -4,7 +4,7 @@ import { Context } from "mocha"; import * as dotenv from "dotenv"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-util"; import { ChatClient } from "../../../src"; import { diff --git a/sdk/communication/communication-identity/karma.conf.js b/sdk/communication/communication-identity/karma.conf.js index d2b72eff3ab0..8da8be214231 100644 --- a/sdk/communication/communication-identity/karma.conf.js +++ b/sdk/communication/communication-identity/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index 2540ef1464f1..efa5323d1cb8 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -87,7 +87,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/identity": "2.0.0-beta.6", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/communication/communication-identity/test/public/communicationIdentityClient.spec.ts b/sdk/communication/communication-identity/test/public/communicationIdentityClient.spec.ts index 7c61fe992509..9301f16d1e89 100644 --- a/sdk/communication/communication-identity/test/public/communicationIdentityClient.spec.ts +++ b/sdk/communication/communication-identity/test/public/communicationIdentityClient.spec.ts @@ -7,7 +7,7 @@ import { } from "@azure/communication-common"; import { assert } from "chai"; import { matrix } from "@azure/test-utils"; -import { isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; +import { isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; import { CommunicationIdentityClient } from "../../src"; import { createRecordedCommunicationIdentityClient, diff --git a/sdk/communication/communication-identity/test/public/node/exchangeTeamsToken.node.spec.ts b/sdk/communication/communication-identity/test/public/node/exchangeTeamsToken.node.spec.ts index 4f61e008f099..4f92794f76c5 100644 --- a/sdk/communication/communication-identity/test/public/node/exchangeTeamsToken.node.spec.ts +++ b/sdk/communication/communication-identity/test/public/node/exchangeTeamsToken.node.spec.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { matrix } from "@azure/test-utils"; -import { env, isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; import { UsernamePasswordCredential } from "@azure/identity"; import { CommunicationAccessToken, CommunicationIdentityClient } from "../../../src"; import { diff --git a/sdk/communication/communication-identity/test/public/utils/recordedClient.ts b/sdk/communication/communication-identity/test/public/utils/recordedClient.ts index f3a853d82ce6..03506cbf513c 100644 --- a/sdk/communication/communication-identity/test/public/utils/recordedClient.ts +++ b/sdk/communication/communication-identity/test/public/utils/recordedClient.ts @@ -10,7 +10,7 @@ import { record, RecorderEnvironmentSetup, isPlaybackMode -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { DefaultHttpClient, HttpClient, diff --git a/sdk/communication/communication-network-traversal/karma.conf.js b/sdk/communication/communication-network-traversal/karma.conf.js index c11d9990e5e6..4cc8b056cb62 100644 --- a/sdk/communication/communication-network-traversal/karma.conf.js +++ b/sdk/communication/communication-network-traversal/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/communication/communication-network-traversal/package.json b/sdk/communication/communication-network-traversal/package.json index 3bd7f94cec72..62f888960681 100644 --- a/sdk/communication/communication-network-traversal/package.json +++ b/sdk/communication/communication-network-traversal/package.json @@ -87,7 +87,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/communication/communication-network-traversal/test/public/communicationNetworkTraversalClient.spec.ts b/sdk/communication/communication-network-traversal/test/public/communicationNetworkTraversalClient.spec.ts index 8bc6ce45007d..956fb444fa06 100644 --- a/sdk/communication/communication-network-traversal/test/public/communicationNetworkTraversalClient.spec.ts +++ b/sdk/communication/communication-network-traversal/test/public/communicationNetworkTraversalClient.spec.ts @@ -3,7 +3,7 @@ import { CommunicationUserIdentifier } from "@azure/communication-common"; import { assert } from "chai"; -import { Recorder, env } from "@azure/test-utils-recorder"; +import { Recorder, env } from "@azure-tools/test-recorder"; import { CommunicationRelayClient } from "../../src"; import { CommunicationIdentityClient } from "@azure/communication-identity"; import { diff --git a/sdk/communication/communication-network-traversal/test/public/utils/recordedClient.ts b/sdk/communication/communication-network-traversal/test/public/utils/recordedClient.ts index a1f17d9ba0e2..b022246c342d 100644 --- a/sdk/communication/communication-network-traversal/test/public/utils/recordedClient.ts +++ b/sdk/communication/communication-network-traversal/test/public/utils/recordedClient.ts @@ -10,7 +10,7 @@ import { record, RecorderEnvironmentSetup, isPlaybackMode -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { DefaultHttpClient, HttpClient, diff --git a/sdk/communication/communication-phone-numbers/karma.conf.js b/sdk/communication/communication-phone-numbers/karma.conf.js index cd4163f88149..325acb48b85a 100644 --- a/sdk/communication/communication-phone-numbers/karma.conf.js +++ b/sdk/communication/communication-phone-numbers/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index cf17f96293f0..80e45292562b 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -75,7 +75,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/identity": "2.0.0-beta.6", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/communication/communication-phone-numbers/test/public/get.spec.ts b/sdk/communication/communication-phone-numbers/test/public/get.spec.ts index d1e770135138..1cda8daf7b25 100644 --- a/sdk/communication/communication-phone-numbers/test/public/get.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/get.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { matrix } from "@azure/test-utils"; -import { Recorder, env, isPlaybackMode } from "@azure/test-utils-recorder"; +import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; import { PhoneNumbersClient } from "../../src"; diff --git a/sdk/communication/communication-phone-numbers/test/public/list.spec.ts b/sdk/communication/communication-phone-numbers/test/public/list.spec.ts index 486258887b17..0de6ded54f44 100644 --- a/sdk/communication/communication-phone-numbers/test/public/list.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/list.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { matrix } from "@azure/test-utils"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; import { PhoneNumbersClient } from "../../src"; diff --git a/sdk/communication/communication-phone-numbers/test/public/lro.purchaseAndRelease.spec.ts b/sdk/communication/communication-phone-numbers/test/public/lro.purchaseAndRelease.spec.ts index 3dcb9a410d92..8220ca0534cd 100644 --- a/sdk/communication/communication-phone-numbers/test/public/lro.purchaseAndRelease.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/lro.purchaseAndRelease.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { matrix } from "@azure/test-utils"; -import { isPlaybackMode, Recorder, env } from "@azure/test-utils-recorder"; +import { isPlaybackMode, Recorder, env } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; import { PhoneNumbersClient, SearchAvailablePhoneNumbersRequest } from "../../src"; diff --git a/sdk/communication/communication-phone-numbers/test/public/lro.search.spec.ts b/sdk/communication/communication-phone-numbers/test/public/lro.search.spec.ts index 16bf01c7350c..f3f32357dc18 100644 --- a/sdk/communication/communication-phone-numbers/test/public/lro.search.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/lro.search.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { matrix } from "@azure/test-utils"; -import { Recorder, env } from "@azure/test-utils-recorder"; +import { Recorder, env } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; import { PhoneNumbersClient, SearchAvailablePhoneNumbersRequest } from "../../src"; diff --git a/sdk/communication/communication-phone-numbers/test/public/lro.update.spec.ts b/sdk/communication/communication-phone-numbers/test/public/lro.update.spec.ts index 1ed933d7b68d..f6768d54b92f 100644 --- a/sdk/communication/communication-phone-numbers/test/public/lro.update.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/lro.update.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { matrix } from "@azure/test-utils"; -import { Recorder, env, isPlaybackMode } from "@azure/test-utils-recorder"; +import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; import { PhoneNumbersClient, PhoneNumberCapabilitiesRequest } from "../../src"; diff --git a/sdk/communication/communication-phone-numbers/test/public/utils/recordedClient.ts b/sdk/communication/communication-phone-numbers/test/public/utils/recordedClient.ts index c62f14db26fa..092c7299ca5f 100644 --- a/sdk/communication/communication-phone-numbers/test/public/utils/recordedClient.ts +++ b/sdk/communication/communication-phone-numbers/test/public/utils/recordedClient.ts @@ -10,7 +10,7 @@ import { record, RecorderEnvironmentSetup, isPlaybackMode -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { DefaultHttpClient, HttpClient, diff --git a/sdk/communication/communication-sms/karma.conf.js b/sdk/communication/communication-sms/karma.conf.js index 90ae86149d08..44cc8e19c6b9 100644 --- a/sdk/communication/communication-sms/karma.conf.js +++ b/sdk/communication/communication-sms/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/communication/communication-sms/package.json b/sdk/communication/communication-sms/package.json index 5cdb73ebcc7b..7b974b47e4bb 100644 --- a/sdk/communication/communication-sms/package.json +++ b/sdk/communication/communication-sms/package.json @@ -78,7 +78,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/communication/communication-sms/test/internal/smsClient.internal.spec.ts b/sdk/communication/communication-sms/test/internal/smsClient.internal.spec.ts index c2d766121611..377dbb1ef3ab 100644 --- a/sdk/communication/communication-sms/test/internal/smsClient.internal.spec.ts +++ b/sdk/communication/communication-sms/test/internal/smsClient.internal.spec.ts @@ -9,7 +9,7 @@ */ import { matrix } from "@azure/test-utils"; -import { isLiveMode, isPlaybackMode, record, Recorder } from "@azure/test-utils-recorder"; +import { isLiveMode, isPlaybackMode, record, Recorder } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; import * as sinon from "sinon"; diff --git a/sdk/communication/communication-sms/test/public/smsClient.spec.ts b/sdk/communication/communication-sms/test/public/smsClient.spec.ts index 44ae87ca49a1..679f543a5d90 100644 --- a/sdk/communication/communication-sms/test/public/smsClient.spec.ts +++ b/sdk/communication/communication-sms/test/public/smsClient.spec.ts @@ -7,7 +7,7 @@ */ import { matrix } from "@azure/test-utils"; -import { record, Recorder, env } from "@azure/test-utils-recorder"; +import { record, Recorder, env } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; import { diff --git a/sdk/communication/communication-sms/test/public/suites/smsClient.send.ts b/sdk/communication/communication-sms/test/public/suites/smsClient.send.ts index b513fbff5dff..e9377db06e2f 100644 --- a/sdk/communication/communication-sms/test/public/suites/smsClient.send.ts +++ b/sdk/communication/communication-sms/test/public/suites/smsClient.send.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { SmsSendRequest, SmsSendOptions } from "../../../src"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { Context } from "mocha"; import { assertIsFailureResult, assertIsSuccessResult } from "../utils/assertHelpers"; diff --git a/sdk/communication/communication-sms/test/public/utils/recordedClient.ts b/sdk/communication/communication-sms/test/public/utils/recordedClient.ts index 262896045f61..9c7fd5f81dab 100644 --- a/sdk/communication/communication-sms/test/public/utils/recordedClient.ts +++ b/sdk/communication/communication-sms/test/public/utils/recordedClient.ts @@ -10,7 +10,7 @@ import { WebResourceLike } from "@azure/core-http"; import { ClientSecretCredential, DefaultAzureCredential, TokenCredential } from "@azure/identity"; -import { env, isPlaybackMode, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { SmsClient, SmsClientOptions } from "../../../src"; export const recorderConfiguration: RecorderEnvironmentSetup = { diff --git a/sdk/confidentialledger/confidential-ledger-rest/karma.conf.js b/sdk/confidentialledger/confidential-ledger-rest/karma.conf.js index d052f2f1f8b2..16a65a67ec21 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/karma.conf.js +++ b/sdk/confidentialledger/confidential-ledger-rest/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode, -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function (config) { config.set({ diff --git a/sdk/confidentialledger/confidential-ledger-rest/package.json b/sdk/confidentialledger/confidential-ledger-rest/package.json index 839b8c8558e0..06071e94bd7a 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/package.json @@ -93,7 +93,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/confidentialledger/confidential-ledger-rest/test/public/listEnclaveQuotes.spec.ts b/sdk/confidentialledger/confidential-ledger-rest/test/public/listEnclaveQuotes.spec.ts index 8d6fec6918bd..56ad768b87cc 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/test/public/listEnclaveQuotes.spec.ts +++ b/sdk/confidentialledger/confidential-ledger-rest/test/public/listEnclaveQuotes.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { ConfidentialLedgerRestClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/confidentialledger/confidential-ledger-rest/test/public/utils/recordedClient.ts b/sdk/confidentialledger/confidential-ledger-rest/test/public/utils/recordedClient.ts index 5b792e013323..32120bcd496e 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/test/public/utils/recordedClient.ts +++ b/sdk/confidentialledger/confidential-ledger-rest/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import ConfidentialLedger, { ConfidentialLedgerRestClient } from "../../../src"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/containerregistry/container-registry/karma.conf.js b/sdk/containerregistry/container-registry/karma.conf.js index ed0a112a3216..a32d29b6ae15 100644 --- a/sdk/containerregistry/container-registry/karma.conf.js +++ b/sdk/containerregistry/container-registry/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/containerregistry/container-registry/package.json b/sdk/containerregistry/container-registry/package.json index 4544b32b0c7a..3b2647fc5638 100644 --- a/sdk/containerregistry/container-registry/package.json +++ b/sdk/containerregistry/container-registry/package.json @@ -87,7 +87,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/containerregistry/container-registry/test/public/anonymousAccess.spec.ts b/sdk/containerregistry/container-registry/test/public/anonymousAccess.spec.ts index ed56ad7ece50..026e0b33b099 100644 --- a/sdk/containerregistry/container-registry/test/public/anonymousAccess.spec.ts +++ b/sdk/containerregistry/container-registry/test/public/anonymousAccess.spec.ts @@ -7,7 +7,7 @@ import * as dotenv from "dotenv"; import { ContainerRegistryClient } from "../../src"; -import { env, record, Recorder } from "@azure/test-utils-recorder"; +import { env, record, Recorder } from "@azure-tools/test-recorder"; import { isNode } from "../utils/isNode"; import { createRegistryClient, recorderEnvSetup } from "../utils/utils"; diff --git a/sdk/containerregistry/container-registry/test/public/containerRegistryClient.spec.ts b/sdk/containerregistry/container-registry/test/public/containerRegistryClient.spec.ts index 473ef1123d32..9b0bdaeecc7a 100644 --- a/sdk/containerregistry/container-registry/test/public/containerRegistryClient.spec.ts +++ b/sdk/containerregistry/container-registry/test/public/containerRegistryClient.spec.ts @@ -7,7 +7,7 @@ import * as dotenv from "dotenv"; import { ContainerRegistryClient } from "../../src"; -import { env, record, Recorder } from "@azure/test-utils-recorder"; +import { env, record, Recorder } from "@azure-tools/test-recorder"; import { isNode } from "../utils/isNode"; import { createRegistryClient, recorderEnvSetup } from "../utils/utils"; diff --git a/sdk/containerregistry/container-registry/test/public/repositoryAndArtifact.spec.ts b/sdk/containerregistry/container-registry/test/public/repositoryAndArtifact.spec.ts index deede63988fb..a305a03b8174 100644 --- a/sdk/containerregistry/container-registry/test/public/repositoryAndArtifact.spec.ts +++ b/sdk/containerregistry/container-registry/test/public/repositoryAndArtifact.spec.ts @@ -5,7 +5,7 @@ import { assert } from "chai"; import { Context } from "mocha"; import * as dotenv from "dotenv"; import { ContainerRegistryClient, ContainerRepository } from "../../src"; -import { env, record, Recorder } from "@azure/test-utils-recorder"; +import { env, record, Recorder } from "@azure-tools/test-recorder"; import { RestError } from "@azure/core-rest-pipeline"; import { isNode } from "../utils/isNode"; import { createRegistryClient, recorderEnvSetup } from "../utils/utils"; diff --git a/sdk/containerregistry/container-registry/test/utils/utils.ts b/sdk/containerregistry/container-registry/test/utils/utils.ts index 3474017db81a..4db1f74f20c0 100644 --- a/sdk/containerregistry/container-registry/test/utils/utils.ts +++ b/sdk/containerregistry/container-registry/test/utils/utils.ts @@ -6,7 +6,7 @@ import { env, RecorderEnvironmentSetup, pluginForClientSecretCredentialTests -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { ContainerRegistryClient } from "../../src"; // When the recorder observes the values of these environment variables in any diff --git a/sdk/digitaltwins/digital-twins-core/karma.conf.js b/sdk/digitaltwins/digital-twins-core/karma.conf.js index 4997eb8dd142..9b102020d3d7 100644 --- a/sdk/digitaltwins/digital-twins-core/karma.conf.js +++ b/sdk/digitaltwins/digital-twins-core/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/digitaltwins/digital-twins-core/package.json b/sdk/digitaltwins/digital-twins-core/package.json index c6ed1948e32a..a46d4b2c4c1d 100644 --- a/sdk/digitaltwins/digital-twins-core/package.json +++ b/sdk/digitaltwins/digital-twins-core/package.json @@ -75,7 +75,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/digitaltwins/digital-twins-core/test/public/testComponents.spec.ts b/sdk/digitaltwins/digital-twins-core/test/public/testComponents.spec.ts index 3b52a70c1217..e38b809d5610 100644 --- a/sdk/digitaltwins/digital-twins-core/test/public/testComponents.spec.ts +++ b/sdk/digitaltwins/digital-twins-core/test/public/testComponents.spec.ts @@ -3,7 +3,7 @@ import { DigitalTwinsClient, DigitalTwinsUpdateComponentOptionalParams } from "../../src"; import { authenticate } from "../utils/testAuthentication"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import chai from "chai"; const assert = chai.assert; diff --git a/sdk/digitaltwins/digital-twins-core/test/public/testDigitalTwins.spec.ts b/sdk/digitaltwins/digital-twins-core/test/public/testDigitalTwins.spec.ts index 1d304bd6d591..51bfc2b42946 100644 --- a/sdk/digitaltwins/digital-twins-core/test/public/testDigitalTwins.spec.ts +++ b/sdk/digitaltwins/digital-twins-core/test/public/testDigitalTwins.spec.ts @@ -8,7 +8,7 @@ import { DigitalTwinsUpdateOptionalParams } from "../../src"; import { authenticate } from "../utils/testAuthentication"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { delay } from "@azure/core-http"; import chai from "chai"; diff --git a/sdk/digitaltwins/digital-twins-core/test/public/testEventRoutes.spec.ts b/sdk/digitaltwins/digital-twins-core/test/public/testEventRoutes.spec.ts index 57c69aeb16c1..312fd6667aaf 100644 --- a/sdk/digitaltwins/digital-twins-core/test/public/testEventRoutes.spec.ts +++ b/sdk/digitaltwins/digital-twins-core/test/public/testEventRoutes.spec.ts @@ -3,7 +3,7 @@ import { DigitalTwinsClient } from "../../src"; import { authenticate } from "../utils/testAuthentication"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import chai from "chai"; const assert = chai.assert; diff --git a/sdk/digitaltwins/digital-twins-core/test/public/testModels.spec.ts b/sdk/digitaltwins/digital-twins-core/test/public/testModels.spec.ts index a66a181fde2c..cf467707d511 100644 --- a/sdk/digitaltwins/digital-twins-core/test/public/testModels.spec.ts +++ b/sdk/digitaltwins/digital-twins-core/test/public/testModels.spec.ts @@ -3,7 +3,7 @@ import { DigitalTwinsClient } from "../../src"; import { authenticate } from "../utils/testAuthentication"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import chai from "chai"; import { delay } from "@azure/core-http"; diff --git a/sdk/digitaltwins/digital-twins-core/test/public/testRelationships.spec.ts b/sdk/digitaltwins/digital-twins-core/test/public/testRelationships.spec.ts index 77cf0164f7ef..cb5d67347986 100644 --- a/sdk/digitaltwins/digital-twins-core/test/public/testRelationships.spec.ts +++ b/sdk/digitaltwins/digital-twins-core/test/public/testRelationships.spec.ts @@ -3,7 +3,7 @@ import { DigitalTwinsClient, DigitalTwinsAddRelationshipOptionalParams } from "../../src"; import { authenticate } from "../utils/testAuthentication"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import chai from "chai"; const assert = chai.assert; diff --git a/sdk/digitaltwins/digital-twins-core/test/utils/recorderUtils.ts b/sdk/digitaltwins/digital-twins-core/test/utils/recorderUtils.ts index dce9de46df48..fff15a84fadb 100644 --- a/sdk/digitaltwins/digital-twins-core/test/utils/recorderUtils.ts +++ b/sdk/digitaltwins/digital-twins-core/test/utils/recorderUtils.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; diff --git a/sdk/digitaltwins/digital-twins-core/test/utils/testAuthentication.ts b/sdk/digitaltwins/digital-twins-core/test/utils/testAuthentication.ts index 7fb8e921f828..cd5ad156c9f2 100644 --- a/sdk/digitaltwins/digital-twins-core/test/utils/testAuthentication.ts +++ b/sdk/digitaltwins/digital-twins-core/test/utils/testAuthentication.ts @@ -3,7 +3,7 @@ import { ClientSecretCredential } from "@azure/identity"; import { DigitalTwinsClient } from "../../src"; -import { env, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { uniqueString } from "./recorderUtils"; import TestClient from "./testClient"; diff --git a/sdk/documenttranslator/ai-document-translator-rest/karma.conf.js b/sdk/documenttranslator/ai-document-translator-rest/karma.conf.js index 00d005abbcaa..42e2e625fb4c 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/karma.conf.js +++ b/sdk/documenttranslator/ai-document-translator-rest/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode, -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function (config) { config.set({ diff --git a/sdk/documenttranslator/ai-document-translator-rest/package.json b/sdk/documenttranslator/ai-document-translator-rest/package.json index e3c761a0b3b8..085282db21f9 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/package.json @@ -98,7 +98,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/documenttranslator/ai-document-translator-rest/test/public/listFormats.spec.ts b/sdk/documenttranslator/ai-document-translator-rest/test/public/listFormats.spec.ts index d3e4fa25e527..13c768e85e08 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/test/public/listFormats.spec.ts +++ b/sdk/documenttranslator/ai-document-translator-rest/test/public/listFormats.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { DocumentTranslatorClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/documenttranslator/ai-document-translator-rest/test/public/utils/recordedClient.ts b/sdk/documenttranslator/ai-document-translator-rest/test/public/utils/recordedClient.ts index f80cc877e771..5681742d6b2b 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/test/public/utils/recordedClient.ts +++ b/sdk/documenttranslator/ai-document-translator-rest/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import DocumentTranslator, { DocumentTranslatorClient } from "../../../src"; import "./env"; diff --git a/sdk/eventgrid/eventgrid/karma.conf.js b/sdk/eventgrid/eventgrid/karma.conf.js index 35472f6af2cf..a686c0d621f1 100644 --- a/sdk/eventgrid/eventgrid/karma.conf.js +++ b/sdk/eventgrid/eventgrid/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index a4a6981d6b2e..c99873423524 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -101,7 +101,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/service-bus": "^7.0.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/eventgrid/eventgrid/test/public/eventGridClient.spec.ts b/sdk/eventgrid/eventgrid/test/public/eventGridClient.spec.ts index 689671de4386..96d39e1de156 100644 --- a/sdk/eventgrid/eventgrid/test/public/eventGridClient.spec.ts +++ b/sdk/eventgrid/eventgrid/test/public/eventGridClient.spec.ts @@ -4,7 +4,7 @@ import { assert } from "chai"; import { Suite, Context } from "mocha"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createRecordedClient, testEnv } from "./utils/recordedClient"; diff --git a/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts b/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts index 4b34dddb1abe..d162b76d29ce 100644 --- a/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts +++ b/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts @@ -4,7 +4,7 @@ import { Context } from "mocha"; import * as dotenv from "dotenv"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { isNode } from "./testUtils"; import { EventGridPublisherClient, InputSchema } from "../../../src"; diff --git a/sdk/formrecognizer/ai-form-recognizer/karma.conf.js b/sdk/formrecognizer/ai-form-recognizer/karma.conf.js index c0e7902e1aca..32814e7c1080 100644 --- a/sdk/formrecognizer/ai-form-recognizer/karma.conf.js +++ b/sdk/formrecognizer/ai-form-recognizer/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index 46763fe88691..d8254830c273 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -94,7 +94,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/browser/formrecognizerclient.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/browser/formrecognizerclient.spec.ts index cfab99f1cef5..0f95db4ea0f4 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/browser/formrecognizerclient.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/browser/formrecognizerclient.spec.ts @@ -5,7 +5,7 @@ import { assert } from "chai"; import { Context } from "mocha"; import { DefaultHttpClient, WebResource } from "@azure/core-http"; import { FormRecognizerClient, AzureKeyCredential } from "../../../src"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { createRecordedRecognizerClient, testEnv, diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/formtrainingclient.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/formtrainingclient.spec.ts index 4671b1db9c0c..ca2e5cb9dca5 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/formtrainingclient.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/formtrainingclient.spec.ts @@ -6,7 +6,7 @@ import { Context } from "mocha"; import { matrix } from "@azure/test-utils"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { testPollingOptions, createRecorder, makeCredential } from "../utils/recordedClients"; diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/node/formrecognizerclient.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/node/formrecognizerclient.spec.ts index 6ccd548fb64f..a70b065ba390 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/node/formrecognizerclient.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/node/formrecognizerclient.spec.ts @@ -14,7 +14,7 @@ import { KnownFormLocale } from "../../../src"; import { testPollingOptions, makeCredential, createRecorder } from "../../utils/recordedClients"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { matrix } from "@azure/test-utils"; const endpoint = (): string => env.FORM_RECOGNIZER_ENDPOINT; diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts index a6c9fa24eb65..fa499f1d6d9f 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts @@ -9,7 +9,7 @@ import { record, RecorderEnvironmentSetup, isPlaybackMode -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { AzureKeyCredential, FormTrainingClient, FormRecognizerClient } from "../../src"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index dff2cfc8a02f..76690d1b7435 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -70,7 +70,7 @@ "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/jws": "^3.2.2", "@types/mocha": "^7.0.2", diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts index 4f4cb50384a9..24f6e507662c 100644 --- a/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts +++ b/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts @@ -7,7 +7,7 @@ import Sinon from "sinon"; import assert from "assert"; import * as path from "path"; -import { env, isPlaybackMode } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode } from "@azure-tools/test-recorder"; import { ConfidentialClientApplication } from "@azure/msal-node"; import { diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts index cfb960f966f0..281ed88b54ca 100644 --- a/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts +++ b/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts @@ -6,7 +6,7 @@ import Sinon from "sinon"; import assert from "assert"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { ConfidentialClientApplication } from "@azure/msal-node"; import { ClientSecretCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts index dbede0e5438d..5c76387aae05 100644 --- a/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts +++ b/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts @@ -7,7 +7,7 @@ import Sinon from "sinon"; import assert from "assert"; import { PublicClientApplication } from "@azure/msal-node"; -import { isLiveMode } from "@azure/test-utils-recorder"; +import { isLiveMode } from "@azure-tools/test-recorder"; import { DeviceCodeCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts index bf13301d4f89..a572b131ebf4 100644 --- a/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts +++ b/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts @@ -6,7 +6,7 @@ import Sinon from "sinon"; import assert from "assert"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { PublicClientApplication } from "@azure/msal-node"; import { UsernamePasswordCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json index bf88cfab6ca5..7314ccc87d9e 100644 --- a/sdk/identity/identity-vscode/package.json +++ b/sdk/identity/identity-vscode/package.json @@ -67,7 +67,7 @@ "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/jws": "^3.2.2", "@types/mocha": "^7.0.2", diff --git a/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts b/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts index 5be8e7a00e2b..2376e8077985 100644 --- a/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts +++ b/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts @@ -9,7 +9,7 @@ import sinon from "sinon"; import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; import { VisualStudioCodeCredential } from "@azure/identity"; -import { isRecordMode } from "@azure/test-utils-recorder"; +import { isRecordMode } from "@azure-tools/test-recorder"; const mockedResponse = [ { diff --git a/sdk/identity/identity/karma.conf.js b/sdk/identity/identity/karma.conf.js index fac26ad33cd4..f798423cb3b9 100644 --- a/sdk/identity/identity/karma.conf.js +++ b/sdk/identity/identity/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index a0063de5d69b..e656cf41449f 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -113,7 +113,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/jws": "^3.2.2", "@types/mocha": "^7.0.2", diff --git a/sdk/identity/identity/test/internal/node/clientCertificateCredential.spec.ts b/sdk/identity/identity/test/internal/node/clientCertificateCredential.spec.ts index 659d091d097e..b6fecb15792d 100644 --- a/sdk/identity/identity/test/internal/node/clientCertificateCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/clientCertificateCredential.spec.ts @@ -7,7 +7,7 @@ import Sinon from "sinon"; import { assert } from "chai"; import * as path from "path"; import { AbortController } from "@azure/abort-controller"; -import { env, isPlaybackMode, delay } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, delay } from "@azure-tools/test-recorder"; import { ConfidentialClientApplication } from "@azure/msal-node"; import { ClientCertificateCredential, RegionalAuthority } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../msalTestUtils"; diff --git a/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts b/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts index b9495eb11611..2b56aa7cee78 100644 --- a/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts @@ -6,7 +6,7 @@ import Sinon from "sinon"; import { assert } from "chai"; import { AbortController } from "@azure/abort-controller"; -import { env, delay } from "@azure/test-utils-recorder"; +import { env, delay } from "@azure-tools/test-recorder"; import { ConfidentialClientApplication } from "@azure/msal-node"; import { ClientSecretCredential, RegionalAuthority } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../msalTestUtils"; diff --git a/sdk/identity/identity/test/internal/node/deviceCodeCredential.spec.ts b/sdk/identity/identity/test/internal/node/deviceCodeCredential.spec.ts index 05b796cfed82..12170b0ac064 100644 --- a/sdk/identity/identity/test/internal/node/deviceCodeCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/deviceCodeCredential.spec.ts @@ -6,7 +6,7 @@ import Sinon from "sinon"; import { assert } from "chai"; import { PublicClientApplication } from "@azure/msal-node"; -import { env, isLiveMode } from "@azure/test-utils-recorder"; +import { env, isLiveMode } from "@azure-tools/test-recorder"; import { DeviceCodeCredential } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../msalTestUtils"; import { MsalNode } from "../../../src/msal/nodeFlows/nodeCommon"; diff --git a/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts b/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts index 3c42d1ab09d2..3576e1cabcaf 100644 --- a/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts @@ -7,7 +7,7 @@ import Sinon from "sinon"; import { assert } from "chai"; import { Context } from "mocha"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { InteractiveBrowserCredential } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../msalTestUtils"; import { interactiveBrowserMockable } from "../../../src/msal/nodeFlows/msalOpenBrowser"; diff --git a/sdk/identity/identity/test/internal/node/usernamePasswordCredential.spec.ts b/sdk/identity/identity/test/internal/node/usernamePasswordCredential.spec.ts index 140e2a3a2022..e01c78cf6259 100644 --- a/sdk/identity/identity/test/internal/node/usernamePasswordCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/usernamePasswordCredential.spec.ts @@ -6,7 +6,7 @@ import Sinon from "sinon"; import { assert } from "chai"; import { Context } from "mocha"; -import { env, isLiveMode } from "@azure/test-utils-recorder"; +import { env, isLiveMode } from "@azure-tools/test-recorder"; import { PublicClientApplication } from "@azure/msal-node"; import { UsernamePasswordCredential } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../msalTestUtils"; diff --git a/sdk/identity/identity/test/msalTestUtils.ts b/sdk/identity/identity/test/msalTestUtils.ts index 2364533aca3b..666f65bc6afd 100644 --- a/sdk/identity/identity/test/msalTestUtils.ts +++ b/sdk/identity/identity/test/msalTestUtils.ts @@ -7,7 +7,7 @@ import { RecorderEnvironmentSetup, TestContextInterface, pluginForIdentitySDK -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import Sinon, { createSandbox } from "sinon"; import { assert } from "chai"; import { OperationTracingOptions, setSpan, context as otContext } from "@azure/core-tracing"; diff --git a/sdk/identity/identity/test/public/node/clientCertificateCredential.spec.ts b/sdk/identity/identity/test/public/node/clientCertificateCredential.spec.ts index 4d874e690887..a73b7a79ca5a 100644 --- a/sdk/identity/identity/test/public/node/clientCertificateCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/clientCertificateCredential.spec.ts @@ -6,7 +6,7 @@ import * as path from "path"; import { assert } from "chai"; import { AbortController } from "@azure/abort-controller"; -import { env, isPlaybackMode, delay } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, delay } from "@azure-tools/test-recorder"; import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestUtils"; import { ClientCertificateCredential } from "../../../src"; import { Context } from "mocha"; diff --git a/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts b/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts index 8dce1b1efb29..85cab8218ad5 100644 --- a/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts @@ -4,7 +4,7 @@ /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ import { assert } from "chai"; -import { env, delay, isRecordMode } from "@azure/test-utils-recorder"; +import { env, delay, isRecordMode } from "@azure-tools/test-recorder"; import { AbortController } from "@azure/abort-controller"; import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestUtils"; import { ClientSecretCredential, RegionalAuthority } from "../../../src"; diff --git a/sdk/identity/identity/test/public/node/deviceCodeCredential.spec.ts b/sdk/identity/identity/test/public/node/deviceCodeCredential.spec.ts index c18c2e51a383..9dd7a332b89d 100644 --- a/sdk/identity/identity/test/public/node/deviceCodeCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/deviceCodeCredential.spec.ts @@ -4,7 +4,7 @@ /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ import { assert } from "chai"; -import { env, isLiveMode, delay, isPlaybackMode } from "@azure/test-utils-recorder"; +import { env, isLiveMode, delay, isPlaybackMode } from "@azure-tools/test-recorder"; import { AbortController, AbortError } from "@azure/abort-controller"; import { DeviceCodeCredential, DeviceCodePromptCallback } from "../../../src"; import { msalNodeTestSetup, MsalTestCleanup, testTracing } from "../../msalTestUtils"; diff --git a/sdk/identity/identity/test/public/node/environmentCredential.spec.ts b/sdk/identity/identity/test/public/node/environmentCredential.spec.ts index 3450bd9dddbd..d3efa0d85184 100644 --- a/sdk/identity/identity/test/public/node/environmentCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/environmentCredential.spec.ts @@ -5,7 +5,7 @@ import sinon from "sinon"; import { assert } from "chai"; -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; import { EnvironmentCredential, UsernamePasswordCredential } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestUtils"; import { Context } from "mocha"; diff --git a/sdk/identity/identity/test/public/node/usernamePasswordCredential.spec.ts b/sdk/identity/identity/test/public/node/usernamePasswordCredential.spec.ts index ba09ffce1982..7e8bf3f68acc 100644 --- a/sdk/identity/identity/test/public/node/usernamePasswordCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/usernamePasswordCredential.spec.ts @@ -4,7 +4,7 @@ /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ import { assert } from "chai"; -import { env, delay } from "@azure/test-utils-recorder"; +import { env, delay } from "@azure-tools/test-recorder"; import { AbortController } from "@azure/abort-controller"; import { UsernamePasswordCredential } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestUtils"; diff --git a/sdk/iot/iot-modelsrepository/karma.conf.js b/sdk/iot/iot-modelsrepository/karma.conf.js index 11ba2e7e033c..e7a1dd99335c 100644 --- a/sdk/iot/iot-modelsrepository/karma.conf.js +++ b/sdk/iot/iot-modelsrepository/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/iot/iot-modelsrepository/package.json b/sdk/iot/iot-modelsrepository/package.json index 7672f16c1308..172baa586903 100644 --- a/sdk/iot/iot-modelsrepository/package.json +++ b/sdk/iot/iot-modelsrepository/package.json @@ -74,7 +74,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 85af7e2b31fd..7b5d3913320b 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -123,7 +123,7 @@ "@azure/identity": "2.0.0-beta.6", "@azure/keyvault-keys": "^4.2.1", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts b/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts index 27af62c19066..93fa65871a13 100644 --- a/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts @@ -12,7 +12,7 @@ import { HttpClient } from "@azure/core-rest-pipeline"; import { ClientSecretCredential } from "@azure/identity"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { URL } from "url"; // Adding this to the source would change the public API. diff --git a/sdk/keyvault/keyvault-admin/test/public/accessControlClient.aborts.spec.ts b/sdk/keyvault/keyvault-admin/test/public/accessControlClient.aborts.spec.ts index fbd5246b3be0..0feb86f8cc98 100644 --- a/sdk/keyvault/keyvault-admin/test/public/accessControlClient.aborts.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/public/accessControlClient.aborts.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { AbortController } from "@azure/abort-controller"; import { KeyVaultAccessControlClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts b/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts index 8b2d8ff8d970..507d9d95e6ee 100644 --- a/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts @@ -4,7 +4,7 @@ import chai, { assert } from "chai"; import chaiAsPromised from "chai-as-promised"; chai.use(chaiAsPromised); -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { KeyVaultAccessControlClient, diff --git a/sdk/keyvault/keyvault-admin/test/public/backupClient.abort.spec.ts b/sdk/keyvault/keyvault-admin/test/public/backupClient.abort.spec.ts index 4a26375a3d60..707390976652 100644 --- a/sdk/keyvault/keyvault-admin/test/public/backupClient.abort.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/public/backupClient.abort.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { AbortController } from "@azure/abort-controller"; import { KeyVaultBackupClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts b/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts index 0e0c3bd55c7f..4914267b1abf 100644 --- a/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts @@ -4,7 +4,7 @@ import * as chai from "chai"; import chaiAsPromised from "chai-as-promised"; chai.use(chaiAsPromised); -import { isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; +import { isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; import { KeyVaultBackupClient } from "../../src"; import { authenticate } from "../utils/authentication"; diff --git a/sdk/keyvault/keyvault-admin/test/utils/authentication.ts b/sdk/keyvault/keyvault-admin/test/utils/authentication.ts index 283769598593..e23164bb6498 100644 --- a/sdk/keyvault/keyvault-admin/test/utils/authentication.ts +++ b/sdk/keyvault/keyvault-admin/test/utils/authentication.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { ClientSecretCredential } from "@azure/identity"; -import { isPlaybackMode, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { isPlaybackMode, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { KeyClient } from "@azure/keyvault-keys"; import { v4 as uuidv4 } from "uuid"; diff --git a/sdk/keyvault/keyvault-admin/test/utils/common.ts b/sdk/keyvault/keyvault-admin/test/utils/common.ts index 418f40d73317..20084e11867c 100644 --- a/sdk/keyvault/keyvault-admin/test/utils/common.ts +++ b/sdk/keyvault/keyvault-admin/test/utils/common.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import * as assert from "assert"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; // Async iterator's polyfill for Node 8 if (!Symbol || !(Symbol as any).asyncIterator) { diff --git a/sdk/keyvault/keyvault-admin/test/utils/recorder.ts b/sdk/keyvault/keyvault-admin/test/utils/recorder.ts index 01d8abd3a2d4..b5da666dd866 100644 --- a/sdk/keyvault/keyvault-admin/test/utils/recorder.ts +++ b/sdk/keyvault/keyvault-admin/test/utils/recorder.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-util"; import * as dotenv from "dotenv"; diff --git a/sdk/keyvault/keyvault-certificates/karma.conf.js b/sdk/keyvault/keyvault-certificates/karma.conf.js index 3a74acf703ac..19b61626be3e 100644 --- a/sdk/keyvault/keyvault-certificates/karma.conf.js +++ b/sdk/keyvault/keyvault-certificates/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 0124226c61bc..e090d19d746c 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -120,7 +120,7 @@ "@azure/identity": "2.0.0-beta.6", "@azure/keyvault-secrets": "^4.2.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/keyvault/keyvault-certificates/test/internal/challengeBasedAuthenticationPolicy.spec.ts b/sdk/keyvault/keyvault-certificates/test/internal/challengeBasedAuthenticationPolicy.spec.ts index ff543dd51fec..adcd42e3507e 100644 --- a/sdk/keyvault/keyvault-certificates/test/internal/challengeBasedAuthenticationPolicy.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/internal/challengeBasedAuthenticationPolicy.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { Context } from "mocha"; import { createSandbox } from "sinon"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { AuthenticationChallengeCache, diff --git a/sdk/keyvault/keyvault-certificates/test/internal/serviceVersionParameter.spec.ts b/sdk/keyvault/keyvault-certificates/test/internal/serviceVersionParameter.spec.ts index 976a69ff128f..4bf3476aaf57 100644 --- a/sdk/keyvault/keyvault-certificates/test/internal/serviceVersionParameter.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/internal/serviceVersionParameter.spec.ts @@ -7,7 +7,7 @@ import { CertificateClient } from "../../src"; import { LATEST_API_VERSION } from "../../src/certificatesModels"; import { HttpClient, WebResourceLike, HttpOperationResponse, HttpHeaders } from "@azure/core-http"; import { ClientSecretCredential } from "@azure/identity"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; describe("The Certificates client should set the serviceVersion", () => { const keyVaultUrl = `https://keyVaultName.vault.azure.net`; diff --git a/sdk/keyvault/keyvault-certificates/test/public/CRUD.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/CRUD.spec.ts index 792f3011fb70..4ddd03991842 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/CRUD.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/CRUD.spec.ts @@ -8,7 +8,7 @@ import childProcess from "child_process"; import { assert } from "chai"; import { supportsTracing } from "../../../keyvault-common/test/utils/supportsTracing"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { AbortController } from "@azure/abort-controller"; import { SecretClient } from "@azure/keyvault-secrets"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/keyvault/keyvault-certificates/test/public/list.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/list.spec.ts index eb67289c0047..6451aeacbd9b 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/list.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/list.spec.ts @@ -4,7 +4,7 @@ import chai from "chai"; import { Context } from "mocha"; import * as assert from "assert"; -import { env, isPlaybackMode, Recorder, isRecordMode } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, Recorder, isRecordMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import { CertificateClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-certificates/test/public/lro.create.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/lro.create.spec.ts index 5481e966bba7..8b3fa6c73309 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/lro.create.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/lro.create.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { Context } from "mocha"; import { PollerStoppedError } from "@azure/core-lro"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { CertificateClient, KeyVaultCertificate, DefaultCertificatePolicy } from "../../src"; import { testPollerProperties } from "../utils/recorderUtils"; diff --git a/sdk/keyvault/keyvault-certificates/test/public/lro.delete.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/lro.delete.spec.ts index 75c2eda5e717..2eb348b52c9b 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/lro.delete.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/lro.delete.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { Context } from "mocha"; import { PollerStoppedError } from "@azure/core-lro"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { CertificateClient, DeletedCertificate, DefaultCertificatePolicy } from "../../src"; import { testPollerProperties } from "../utils/recorderUtils"; diff --git a/sdk/keyvault/keyvault-certificates/test/public/lro.operation.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/lro.operation.spec.ts index 72c3547e4537..5d6fa5630287 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/lro.operation.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/lro.operation.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { CertificateClient, diff --git a/sdk/keyvault/keyvault-certificates/test/public/lro.recover.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/lro.recover.spec.ts index b2b4318bf124..c0991a27e125 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/lro.recover.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/lro.recover.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { PollerStoppedError } from "@azure/core-lro"; import { CertificateClient, DeletedCertificate, DefaultCertificatePolicy } from "../../src"; diff --git a/sdk/keyvault/keyvault-certificates/test/public/mergeAndImport.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/mergeAndImport.spec.ts index 021ff74ccfa2..8e9f035b078f 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/mergeAndImport.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/mergeAndImport.spec.ts @@ -5,7 +5,7 @@ import fs from "fs"; import { Context } from "mocha"; import childProcess from "child_process"; import { isNode } from "@azure/core-http"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { SecretClient } from "@azure/keyvault-secrets"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/keyvault/keyvault-certificates/test/public/recoverBackupRestore.spec.ts b/sdk/keyvault/keyvault-certificates/test/public/recoverBackupRestore.spec.ts index 6237a2c81f8c..a9bc4db0dd5c 100644 --- a/sdk/keyvault/keyvault-certificates/test/public/recoverBackupRestore.spec.ts +++ b/sdk/keyvault/keyvault-certificates/test/public/recoverBackupRestore.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, isPlaybackMode, Recorder, isRecordMode } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, Recorder, isRecordMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import { CertificateClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-certificates/test/utils/recorderUtils.ts b/sdk/keyvault/keyvault-certificates/test/utils/recorderUtils.ts index 36219c34dc82..5898455821c2 100644 --- a/sdk/keyvault/keyvault-certificates/test/utils/recorderUtils.ts +++ b/sdk/keyvault/keyvault-certificates/test/utils/recorderUtils.ts @@ -3,7 +3,7 @@ import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; if (isNode) { dotenv.config(); diff --git a/sdk/keyvault/keyvault-certificates/test/utils/testAuthentication.ts b/sdk/keyvault/keyvault-certificates/test/utils/testAuthentication.ts index f8e3b7573f2d..f8a766a0563f 100644 --- a/sdk/keyvault/keyvault-certificates/test/utils/testAuthentication.ts +++ b/sdk/keyvault/keyvault-certificates/test/utils/testAuthentication.ts @@ -4,7 +4,7 @@ import { ClientSecretCredential } from "@azure/identity"; import { CertificateClient } from "../../src"; import { uniqueString } from "./recorderUtils"; -import { env, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import TestClient from "./testClient"; import { Context } from "mocha"; diff --git a/sdk/keyvault/keyvault-certificates/test/utils/utils.common.ts b/sdk/keyvault/keyvault-certificates/test/utils/utils.common.ts index 06acbaf0075a..f41ec3d5582e 100644 --- a/sdk/keyvault/keyvault-certificates/test/utils/utils.common.ts +++ b/sdk/keyvault/keyvault-certificates/test/utils/utils.common.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import * as assert from "assert"; // Async iterator's polyfill for Node 8 diff --git a/sdk/keyvault/keyvault-keys/karma.conf.js b/sdk/keyvault/keyvault-keys/karma.conf.js index 7dec62fb5783..8c7feacdecf8 100644 --- a/sdk/keyvault/keyvault-keys/karma.conf.js +++ b/sdk/keyvault/keyvault-keys/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 369f347cdd08..58956f51f08b 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -116,7 +116,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/keyvault/keyvault-keys/test/internal/aesCryptography.spec.ts b/sdk/keyvault/keyvault-keys/test/internal/aesCryptography.spec.ts index 85923d25f2ad..9e0f7e5db16e 100644 --- a/sdk/keyvault/keyvault-keys/test/internal/aesCryptography.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/internal/aesCryptography.spec.ts @@ -15,7 +15,7 @@ import { isNode } from "@azure/core-http"; import { AesCryptographyProvider } from "../../src/cryptography/aesCryptographyProvider"; import TestClient from "../utils/testClient"; import { authenticate } from "../utils/testAuthentication"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { RemoteCryptographyProvider } from "../../src/cryptography/remoteCryptographyProvider"; import { ClientSecretCredential } from "@azure/identity"; import { getServiceVersion } from "../utils/utils.common"; diff --git a/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts b/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts index 01ffdb8a7642..db21e768d277 100644 --- a/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { Context } from "mocha"; import { createSandbox } from "sinon"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { AuthenticationChallengeCache, diff --git a/sdk/keyvault/keyvault-keys/test/internal/serviceVersionParameter.spec.ts b/sdk/keyvault/keyvault-keys/test/internal/serviceVersionParameter.spec.ts index b91567f60ebe..7c3074cfb065 100644 --- a/sdk/keyvault/keyvault-keys/test/internal/serviceVersionParameter.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/internal/serviceVersionParameter.spec.ts @@ -7,7 +7,7 @@ import { KeyClient } from "../../src"; import { LATEST_API_VERSION } from "../../src/keysModels"; import { HttpClient, HttpOperationResponse, WebResourceLike, HttpHeaders } from "@azure/core-http"; import { ClientSecretCredential } from "@azure/identity"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { versionsToTest } from "@azure/test-utils"; import { serviceVersions } from "../utils/utils.common"; diff --git a/sdk/keyvault/keyvault-keys/test/public/crypto.hsm.spec.ts b/sdk/keyvault/keyvault-keys/test/public/crypto.hsm.spec.ts index 3e2e86948c61..21504e1b42e1 100644 --- a/sdk/keyvault/keyvault-keys/test/public/crypto.hsm.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/crypto.hsm.spec.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { Context } from "mocha"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { CryptographyClient, KeyVaultKey, KeyClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-keys/test/public/crypto.spec.ts b/sdk/keyvault/keyvault-keys/test/public/crypto.spec.ts index 1391dc42e78d..afbb524606b9 100644 --- a/sdk/keyvault/keyvault-keys/test/public/crypto.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/crypto.spec.ts @@ -5,7 +5,7 @@ import { assert } from "chai"; import { supportsTracing } from "../../../keyvault-common/test/utils/supportsTracing"; import { Context } from "mocha"; import { createHash } from "crypto"; -import { Recorder, env, isLiveMode } from "@azure/test-utils-recorder"; +import { Recorder, env, isLiveMode } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { CryptographyClient, KeyVaultKey, KeyClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-keys/test/public/import.spec.ts b/sdk/keyvault/keyvault-keys/test/public/import.spec.ts index 0a06a07c8d77..f70f785c2bf6 100644 --- a/sdk/keyvault/keyvault-keys/test/public/import.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/import.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { KeyClient } from "../../src"; import { authenticate } from "../utils/testAuthentication"; diff --git a/sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts b/sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts index 13f015bb876f..0578a457e3d3 100644 --- a/sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { KeyClient } from "../../src"; import { authenticate } from "../utils/testAuthentication"; import TestClient from "../utils/testClient"; diff --git a/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts b/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts index c0c2d0fba2cf..638c634360ca 100644 --- a/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts @@ -5,7 +5,7 @@ import { assert } from "chai"; import { Context } from "mocha"; import { RestError } from "@azure/core-http"; import { AbortController } from "@azure/abort-controller"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { KeyClient, diff --git a/sdk/keyvault/keyvault-keys/test/public/list.spec.ts b/sdk/keyvault/keyvault-keys/test/public/list.spec.ts index 103c747ba779..4a09a363ba2c 100644 --- a/sdk/keyvault/keyvault-keys/test/public/list.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/list.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder, isRecordMode } from "@azure/test-utils-recorder"; +import { env, Recorder, isRecordMode } from "@azure-tools/test-recorder"; import { KeyClient } from "../../src"; import { assertThrowsAbortError, getServiceVersion } from "../utils/utils.common"; diff --git a/sdk/keyvault/keyvault-keys/test/public/localCryptography.spec.ts b/sdk/keyvault/keyvault-keys/test/public/localCryptography.spec.ts index e516957d87b6..6c563a1aa9a1 100644 --- a/sdk/keyvault/keyvault-keys/test/public/localCryptography.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/localCryptography.spec.ts @@ -10,7 +10,7 @@ import { isNode } from "@azure/core-http"; import { createHash } from "crypto"; import { authenticate } from "../utils/testAuthentication"; import TestClient from "../utils/testClient"; -import { Recorder, env } from "@azure/test-utils-recorder"; +import { Recorder, env } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { RsaCryptographyProvider } from "../../src/cryptography/rsaCryptographyProvider"; import { getServiceVersion } from "../utils/utils.common"; diff --git a/sdk/keyvault/keyvault-keys/test/public/lro.delete.spec.ts b/sdk/keyvault/keyvault-keys/test/public/lro.delete.spec.ts index beb21702f859..0d0d66a79c2b 100644 --- a/sdk/keyvault/keyvault-keys/test/public/lro.delete.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/lro.delete.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { PollerStoppedError } from "@azure/core-lro"; import { KeyClient, DeletedKey } from "../../src"; diff --git a/sdk/keyvault/keyvault-keys/test/public/lro.recoverDelete.spec.ts b/sdk/keyvault/keyvault-keys/test/public/lro.recoverDelete.spec.ts index b67b7615050e..1af1b21cfeb4 100644 --- a/sdk/keyvault/keyvault-keys/test/public/lro.recoverDelete.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/lro.recoverDelete.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { PollerStoppedError } from "@azure/core-lro"; import { KeyClient, DeletedKey } from "../../src"; diff --git a/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts b/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts index ab1c34a17a80..f15aaf5d7f2e 100644 --- a/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts @@ -7,7 +7,7 @@ import { isNode } from "@azure/core-http"; import { KeyClient } from "../../src"; import { assertThrowsAbortError, getServiceVersion } from "../utils/utils.common"; import { testPollerProperties } from "../utils/recorderUtils"; -import { env, Recorder, isRecordMode, isPlaybackMode } from "@azure/test-utils-recorder"; +import { env, Recorder, isRecordMode, isPlaybackMode } from "@azure-tools/test-recorder"; import { authenticate } from "../utils/testAuthentication"; import TestClient from "../utils/testClient"; diff --git a/sdk/keyvault/keyvault-keys/test/utils/recorderUtils.ts b/sdk/keyvault/keyvault-keys/test/utils/recorderUtils.ts index dce9de46df48..fff15a84fadb 100644 --- a/sdk/keyvault/keyvault-keys/test/utils/recorderUtils.ts +++ b/sdk/keyvault/keyvault-keys/test/utils/recorderUtils.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; diff --git a/sdk/keyvault/keyvault-keys/test/utils/testAuthentication.ts b/sdk/keyvault/keyvault-keys/test/utils/testAuthentication.ts index f4f14a68d0c5..faada6369559 100644 --- a/sdk/keyvault/keyvault-keys/test/utils/testAuthentication.ts +++ b/sdk/keyvault/keyvault-keys/test/utils/testAuthentication.ts @@ -3,7 +3,7 @@ import { ClientSecretCredential } from "@azure/identity"; import { KeyClient } from "../../src"; -import { env, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { uniqueString } from "./recorderUtils"; import TestClient from "./testClient"; import { Context } from "mocha"; diff --git a/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts b/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts index 8528c5be3989..99e779a2bb05 100644 --- a/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts +++ b/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { SupportedVersions, supports, TestFunctionWrapper } from "@azure/test-utils"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import * as assert from "assert"; import { LATEST_API_VERSION } from "../../src/keysModels"; diff --git a/sdk/keyvault/keyvault-secrets/karma.conf.js b/sdk/keyvault/keyvault-secrets/karma.conf.js index 110299315846..a29b66d425ae 100644 --- a/sdk/keyvault/keyvault-secrets/karma.conf.js +++ b/sdk/keyvault/keyvault-secrets/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 212953df55b7..2c8b6e1b3f69 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -115,7 +115,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/keyvault/keyvault-secrets/test/internal/challengeBasedAuthenticationPolicy.spec.ts b/sdk/keyvault/keyvault-secrets/test/internal/challengeBasedAuthenticationPolicy.spec.ts index b11638c73d8b..9b36838eb373 100644 --- a/sdk/keyvault/keyvault-secrets/test/internal/challengeBasedAuthenticationPolicy.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/internal/challengeBasedAuthenticationPolicy.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { createSandbox } from "sinon"; import { diff --git a/sdk/keyvault/keyvault-secrets/test/internal/serviceVersionParameter.spec.ts b/sdk/keyvault/keyvault-secrets/test/internal/serviceVersionParameter.spec.ts index 3b4fff712d4a..984371cfddbe 100644 --- a/sdk/keyvault/keyvault-secrets/test/internal/serviceVersionParameter.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/internal/serviceVersionParameter.spec.ts @@ -7,7 +7,7 @@ import { SecretClient } from "../../src"; import { LATEST_API_VERSION } from "../../src/secretsModels"; import { HttpClient, WebResourceLike, HttpOperationResponse, HttpHeaders } from "@azure/core-http"; import { ClientSecretCredential } from "@azure/identity"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; describe("The Secrets client should set the serviceVersion", () => { const keyVaultUrl = `https://keyVaultName.vault.azure.net`; diff --git a/sdk/keyvault/keyvault-secrets/test/public/CRUD.spec.ts b/sdk/keyvault/keyvault-secrets/test/public/CRUD.spec.ts index c5555b1ff279..89bd3adcda6a 100644 --- a/sdk/keyvault/keyvault-secrets/test/public/CRUD.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/public/CRUD.spec.ts @@ -4,7 +4,7 @@ import { Context } from "mocha"; import { assert } from "chai"; import { supportsTracing } from "../../../keyvault-common/test/utils/supportsTracing"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { AbortController } from "@azure/abort-controller"; import { SecretClient } from "../../src"; diff --git a/sdk/keyvault/keyvault-secrets/test/public/list.spec.ts b/sdk/keyvault/keyvault-secrets/test/public/list.spec.ts index 0d086732e584..16674c84f0a5 100644 --- a/sdk/keyvault/keyvault-secrets/test/public/list.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/public/list.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { Context } from "mocha"; import chai from "chai"; -import { env, Recorder, isRecordMode } from "@azure/test-utils-recorder"; +import { env, Recorder, isRecordMode } from "@azure-tools/test-recorder"; import { SecretClient } from "../../src"; import { assertThrowsAbortError } from "../utils/utils.common"; diff --git a/sdk/keyvault/keyvault-secrets/test/public/lro.delete.spec.ts b/sdk/keyvault/keyvault-secrets/test/public/lro.delete.spec.ts index 3e5cc54a6858..dbc3b9bdbc84 100644 --- a/sdk/keyvault/keyvault-secrets/test/public/lro.delete.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/public/lro.delete.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { PollerStoppedError } from "@azure/core-lro"; import { SecretClient, DeletedSecret } from "../../src"; diff --git a/sdk/keyvault/keyvault-secrets/test/public/lro.recover.spec.ts b/sdk/keyvault/keyvault-secrets/test/public/lro.recover.spec.ts index 3990a0cfed12..edb3f63fc32d 100644 --- a/sdk/keyvault/keyvault-secrets/test/public/lro.recover.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/public/lro.recover.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { Context } from "mocha"; -import { env, Recorder } from "@azure/test-utils-recorder"; +import { env, Recorder } from "@azure-tools/test-recorder"; import { PollerStoppedError } from "@azure/core-lro"; import { SecretClient, SecretProperties } from "../../src"; diff --git a/sdk/keyvault/keyvault-secrets/test/public/recoverBackupRestore.spec.ts b/sdk/keyvault/keyvault-secrets/test/public/recoverBackupRestore.spec.ts index 8d96f30d9360..2d6bd8cabd50 100644 --- a/sdk/keyvault/keyvault-secrets/test/public/recoverBackupRestore.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/public/recoverBackupRestore.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { Context } from "mocha"; import { isNode } from "@azure/core-http"; -import { env, isPlaybackMode, Recorder, isRecordMode } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, Recorder, isRecordMode } from "@azure-tools/test-recorder"; import { SecretClient } from "../../src"; import { assertThrowsAbortError } from "../utils/utils.common"; diff --git a/sdk/keyvault/keyvault-secrets/test/utils/recorderUtils.ts b/sdk/keyvault/keyvault-secrets/test/utils/recorderUtils.ts index dce9de46df48..fff15a84fadb 100644 --- a/sdk/keyvault/keyvault-secrets/test/utils/recorderUtils.ts +++ b/sdk/keyvault/keyvault-secrets/test/utils/recorderUtils.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; diff --git a/sdk/keyvault/keyvault-secrets/test/utils/testAuthentication.ts b/sdk/keyvault/keyvault-secrets/test/utils/testAuthentication.ts index 3f4d5cd99221..6eba48faf1d7 100644 --- a/sdk/keyvault/keyvault-secrets/test/utils/testAuthentication.ts +++ b/sdk/keyvault/keyvault-secrets/test/utils/testAuthentication.ts @@ -3,7 +3,7 @@ import { ClientSecretCredential } from "@azure/identity"; import { SecretClient } from "../../src"; -import { env, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { uniqueString } from "./recorderUtils"; import TestClient from "./testClient"; import { Context } from "mocha"; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/karma.conf.js b/sdk/metricsadvisor/ai-metrics-advisor/karma.conf.js index 104bae582009..1b7cda38e6e7 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/karma.conf.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/metricsadvisor/ai-metrics-advisor/package.json b/sdk/metricsadvisor/ai-metrics-advisor/package.json index 56477a19de33..8f0e2f16abea 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/package.json @@ -92,7 +92,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts index c83f66dd11c4..a0552b1339b7 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts @@ -11,7 +11,7 @@ import { MetricsAdvisorAdministrationClient } from "../../src"; import { createRecordedAdminClient, makeCredential, testEnv } from "./util/recordedClients"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { matrix } from "./util/matrix"; matrix([[true, false]] as const, async (useAad) => { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts index c68166d66640..1c8c504c16e1 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts @@ -12,7 +12,7 @@ import { MetricsAdvisorClient } from "../../src"; import { createRecordedAdvisorClient, makeCredential, testEnv } from "./util/recordedClients"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { matrix } from "./util/matrix"; matrix([[true, false]] as const, async (useAad) => { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts index 4cc5ad6d92d9..0a40c2c9098d 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts @@ -15,7 +15,7 @@ import { DataSourceSqlServerConnectionStringPatch } from "../../src"; import { createRecordedAdminClient, makeCredential } from "./util/recordedClients"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; describe("DataSourceCredential", () => { let client: MetricsAdvisorAdministrationClient; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts index e34755fdd2f4..5265d1ec5939 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts @@ -23,7 +23,7 @@ import { AzureLogAnalyticsDataFeedSource } from "../../src"; import { createRecordedAdminClient, testEnv, makeCredential } from "./util/recordedClients"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { matrix } from "./util/matrix"; matrix([[true, false]] as const, async (useAad) => { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts index 6d601483e1a0..5ef19fd179f6 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts @@ -12,7 +12,7 @@ import { WebNotificationHookPatch } from "../../src"; import { createRecordedAdminClient, makeCredential } from "./util/recordedClients"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { matrix } from "./util/matrix"; matrix([[true, false]] as const, async (useAad) => { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/util/recordedClients.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/util/recordedClients.ts index 67247a455da0..711a01a3a066 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/util/recordedClients.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/util/recordedClients.ts @@ -3,7 +3,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { TokenCredential } from "@azure/core-auth"; import { diff --git a/sdk/mixedreality/mixed-reality-authentication/karma.conf.js b/sdk/mixedreality/mixed-reality-authentication/karma.conf.js index ce82490c5e41..c40d218e2f55 100644 --- a/sdk/mixedreality/mixed-reality-authentication/karma.conf.js +++ b/sdk/mixedreality/mixed-reality-authentication/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/mixedreality/mixed-reality-authentication/package.json b/sdk/mixedreality/mixed-reality-authentication/package.json index 685f99d57d24..23a88c0a3136 100644 --- a/sdk/mixedreality/mixed-reality-authentication/package.json +++ b/sdk/mixedreality/mixed-reality-authentication/package.json @@ -75,7 +75,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/mixedreality/mixed-reality-authentication/test/mixedRealityStsClient.spec.ts b/sdk/mixedreality/mixed-reality-authentication/test/mixedRealityStsClient.spec.ts index 4a54642ba3f6..6e314ad28b4f 100644 --- a/sdk/mixedreality/mixed-reality-authentication/test/mixedRealityStsClient.spec.ts +++ b/sdk/mixedreality/mixed-reality-authentication/test/mixedRealityStsClient.spec.ts @@ -5,7 +5,7 @@ import { assert } from "chai"; import { Context } from "mocha"; import { AzureKeyCredential, MixedRealityStsClient } from "../src"; import { createTokenCredentialFromMRKeyCredential } from "./utils/tokenCredentialHelper"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { createClient, createRecorder } from "./utils/recordedClient"; describe("MixedRealityStsClient", () => { diff --git a/sdk/mixedreality/mixed-reality-authentication/test/utils/recordedClient.ts b/sdk/mixedreality/mixed-reality-authentication/test/utils/recordedClient.ts index a1ad91b822b9..bad289fb6e35 100644 --- a/sdk/mixedreality/mixed-reality-authentication/test/utils/recordedClient.ts +++ b/sdk/mixedreality/mixed-reality-authentication/test/utils/recordedClient.ts @@ -4,7 +4,7 @@ import { Context } from "mocha"; import { AzureKeyCredential } from "@azure/core-auth"; -import { env, record, Recorder, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, record, Recorder, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { MixedRealityStsClient } from "../../src"; import "./env"; diff --git a/sdk/monitor/monitor-query/karma.conf.js b/sdk/monitor/monitor-query/karma.conf.js index 0ecfc47bcfb3..ef0b169477d7 100644 --- a/sdk/monitor/monitor-query/karma.conf.js +++ b/sdk/monitor/monitor-query/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index 49e09ef9a063..d6df2d064115 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -110,7 +110,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/identity": "^1.1.0", "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.4", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@opentelemetry/api": "^1.0.1", "@opentelemetry/node": "0.22.0", diff --git a/sdk/monitor/monitor-query/test/public/shared/testShared.ts b/sdk/monitor/monitor-query/test/public/shared/testShared.ts index b94f49cba7dd..1f336fa3024f 100644 --- a/sdk/monitor/monitor-query/test/public/shared/testShared.ts +++ b/sdk/monitor/monitor-query/test/public/shared/testShared.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { ClientSecretCredential } from "@azure/identity"; -import { env, record, Recorder, isPlaybackMode } from "@azure/test-utils-recorder"; +import { env, record, Recorder, isPlaybackMode } from "@azure-tools/test-recorder"; import * as assert from "assert"; import { Context } from "mocha"; import { createClientLogger } from "@azure/logger"; diff --git a/sdk/purview/purview-account-rest/package.json b/sdk/purview/purview-account-rest/package.json index f2b0949b9bd8..f33d7058fd6b 100644 --- a/sdk/purview/purview-account-rest/package.json +++ b/sdk/purview/purview-account-rest/package.json @@ -93,7 +93,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/purview/purview-account-rest/test/public/account.spec.ts b/sdk/purview/purview-account-rest/test/public/account.spec.ts index c9222877986c..71a517fed9fe 100644 --- a/sdk/purview/purview-account-rest/test/public/account.spec.ts +++ b/sdk/purview/purview-account-rest/test/public/account.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { PurviewAccountRestClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/purview/purview-account-rest/test/public/collections.spec.ts b/sdk/purview/purview-account-rest/test/public/collections.spec.ts index 5057a2b0968e..1fb1fbde1b55 100644 --- a/sdk/purview/purview-account-rest/test/public/collections.spec.ts +++ b/sdk/purview/purview-account-rest/test/public/collections.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { PurviewAccountRestClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/purview/purview-account-rest/test/public/utils/recordedClient.ts b/sdk/purview/purview-account-rest/test/public/utils/recordedClient.ts index 02a212c5f624..edd0ee9fa900 100644 --- a/sdk/purview/purview-account-rest/test/public/utils/recordedClient.ts +++ b/sdk/purview/purview-account-rest/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import PurviewAccount, { PurviewAccountRestClient } from "../../../src"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/purview/purview-catalog-rest/karma.conf.js b/sdk/purview/purview-catalog-rest/karma.conf.js index 25316030d220..6f3632a5ce59 100644 --- a/sdk/purview/purview-catalog-rest/karma.conf.js +++ b/sdk/purview/purview-catalog-rest/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode, -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function (config) { config.set({ diff --git a/sdk/purview/purview-catalog-rest/package.json b/sdk/purview/purview-catalog-rest/package.json index 2b9ecb2b585f..f66b27127806 100644 --- a/sdk/purview/purview-catalog-rest/package.json +++ b/sdk/purview/purview-catalog-rest/package.json @@ -92,7 +92,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts b/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts index 77e8fe6b96e2..f4985c4d77c3 100644 --- a/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts +++ b/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { PurviewCatalogRestClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts b/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts index 8b496829afd4..a0c00a566b4a 100644 --- a/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts +++ b/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import PurviewCatalog, { PurviewCatalogRestClient } from "../../../src"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/purview/purview-scanning-rest/karma.conf.js b/sdk/purview/purview-scanning-rest/karma.conf.js index 25316030d220..6f3632a5ce59 100644 --- a/sdk/purview/purview-scanning-rest/karma.conf.js +++ b/sdk/purview/purview-scanning-rest/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode, -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function (config) { config.set({ diff --git a/sdk/purview/purview-scanning-rest/package.json b/sdk/purview/purview-scanning-rest/package.json index 5ffd1af1471d..df50ef6e2116 100644 --- a/sdk/purview/purview-scanning-rest/package.json +++ b/sdk/purview/purview-scanning-rest/package.json @@ -92,7 +92,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/purview/purview-scanning-rest/test/public/dataSources.spec.ts b/sdk/purview/purview-scanning-rest/test/public/dataSources.spec.ts index 3c09978f1004..6497134ea991 100644 --- a/sdk/purview/purview-scanning-rest/test/public/dataSources.spec.ts +++ b/sdk/purview/purview-scanning-rest/test/public/dataSources.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { PurviewScanningRestClient } from "../../src"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/purview/purview-scanning-rest/test/public/utils/recordedClient.ts b/sdk/purview/purview-scanning-rest/test/public/utils/recordedClient.ts index ead5872a74e9..ff40db1950af 100644 --- a/sdk/purview/purview-scanning-rest/test/public/utils/recordedClient.ts +++ b/sdk/purview/purview-scanning-rest/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import PurviewScanning, { PurviewScanningRestClient } from "../../../src"; import { ClientSecretCredential } from "@azure/identity"; diff --git a/sdk/quantum/quantum-jobs/karma.conf.js b/sdk/quantum/quantum-jobs/karma.conf.js index 60b43e9dbb3d..d51175947599 100644 --- a/sdk/quantum/quantum-jobs/karma.conf.js +++ b/sdk/quantum/quantum-jobs/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/quantum/quantum-jobs/package.json b/sdk/quantum/quantum-jobs/package.json index bf220ac620d5..5a48be561a70 100644 --- a/sdk/quantum/quantum-jobs/package.json +++ b/sdk/quantum/quantum-jobs/package.json @@ -73,7 +73,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/quantum/quantum-jobs/test/public/quantumJobClient.spec.ts b/sdk/quantum/quantum-jobs/test/public/quantumJobClient.spec.ts index 10b0b88e605a..36a1724754ec 100644 --- a/sdk/quantum/quantum-jobs/test/public/quantumJobClient.spec.ts +++ b/sdk/quantum/quantum-jobs/test/public/quantumJobClient.spec.ts @@ -4,11 +4,11 @@ import { ContainerClient, BlockBlobClient } from "@azure/storage-blob"; import { QuantumJobClient } from "../../src"; import { authenticate } from "../utils/testAuthentication"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import chai from "chai"; import * as fs from "fs"; import { TokenCredential } from "@azure/identity"; -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; import { replaceStorageAccountInfo } from "../utils/recorderUtils"; const assert = chai.assert; diff --git a/sdk/quantum/quantum-jobs/test/utils/recorderUtils.ts b/sdk/quantum/quantum-jobs/test/utils/recorderUtils.ts index ba474036e86e..66367922af24 100644 --- a/sdk/quantum/quantum-jobs/test/utils/recorderUtils.ts +++ b/sdk/quantum/quantum-jobs/test/utils/recorderUtils.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isPlaybackMode, isRecordMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode, isRecordMode } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import * as dotenv from "dotenv"; diff --git a/sdk/quantum/quantum-jobs/test/utils/testAuthentication.ts b/sdk/quantum/quantum-jobs/test/utils/testAuthentication.ts index b4ba580052a7..42e559c14f6a 100644 --- a/sdk/quantum/quantum-jobs/test/utils/testAuthentication.ts +++ b/sdk/quantum/quantum-jobs/test/utils/testAuthentication.ts @@ -3,7 +3,7 @@ import { DefaultAzureCredential } from "@azure/identity"; import { QuantumJobClient } from "../../src"; -import { env, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import TestClient from "./testClient"; import { replaceStorageAccountInfo } from "./recorderUtils"; diff --git a/sdk/remoterendering/mixed-reality-remote-rendering/karma.conf.js b/sdk/remoterendering/mixed-reality-remote-rendering/karma.conf.js index eb0da13b1f69..c2724195319b 100644 --- a/sdk/remoterendering/mixed-reality-remote-rendering/karma.conf.js +++ b/sdk/remoterendering/mixed-reality-remote-rendering/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/remoterendering/mixed-reality-remote-rendering/package.json b/sdk/remoterendering/mixed-reality-remote-rendering/package.json index 3b89ca56ec1a..5ed90f7520ef 100644 --- a/sdk/remoterendering/mixed-reality-remote-rendering/package.json +++ b/sdk/remoterendering/mixed-reality-remote-rendering/package.json @@ -89,7 +89,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/remoterendering/mixed-reality-remote-rendering/test/public/remoteRenderingClient.spec.ts b/sdk/remoterendering/mixed-reality-remote-rendering/test/public/remoteRenderingClient.spec.ts index f629645248e1..e3e7493c005d 100644 --- a/sdk/remoterendering/mixed-reality-remote-rendering/test/public/remoteRenderingClient.spec.ts +++ b/sdk/remoterendering/mixed-reality-remote-rendering/test/public/remoteRenderingClient.spec.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { Context } from "mocha"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { RestError } from "@azure/core-rest-pipeline"; import { @@ -26,7 +26,7 @@ import { } from "@azure/core-auth"; import { createClient, createRecorder, getEnv } from "../utils/recordedClient"; -import { isPlaybackMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode } from "@azure-tools/test-recorder"; /// No need to wait when polling in playback mode. const pollerSettings = isPlaybackMode() ? { intervalInMs: 1 } : {}; diff --git a/sdk/remoterendering/mixed-reality-remote-rendering/test/utils/recordedClient.ts b/sdk/remoterendering/mixed-reality-remote-rendering/test/utils/recordedClient.ts index dc724c690fb4..37d1dc9e5583 100644 --- a/sdk/remoterendering/mixed-reality-remote-rendering/test/utils/recordedClient.ts +++ b/sdk/remoterendering/mixed-reality-remote-rendering/test/utils/recordedClient.ts @@ -10,7 +10,7 @@ import { Recorder, RecorderEnvironmentSetup, isPlaybackMode -} from "@azure/test-utils-recorder"; +} from "@azure-tools/test-recorder"; import { RemoteRenderingClient } from "../../src"; import "./env"; diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index 2e004ff5756a..4e74b51d6d01 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -82,7 +82,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/schemaregistry/schema-registry-avro/test/schemaRegistryAvroSerializer.spec.ts b/sdk/schemaregistry/schema-registry-avro/test/schemaRegistryAvroSerializer.spec.ts index 63780317c7bf..4041b9a55f0a 100644 --- a/sdk/schemaregistry/schema-registry-avro/test/schemaRegistryAvroSerializer.spec.ts +++ b/sdk/schemaregistry/schema-registry-avro/test/schemaRegistryAvroSerializer.spec.ts @@ -5,7 +5,7 @@ import { SchemaRegistryAvroSerializer } from "../src"; import { assert, use as chaiUse } from "chai"; import * as avro from "avsc/"; import chaiPromises from "chai-as-promised"; -import { env, isLiveMode } from "@azure/test-utils-recorder"; +import { env, isLiveMode } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { diff --git a/sdk/schemaregistry/schema-registry/karma.conf.js b/sdk/schemaregistry/schema-registry/karma.conf.js index 1218ed1be7fc..fdab4215e73b 100644 --- a/sdk/schemaregistry/schema-registry/karma.conf.js +++ b/sdk/schemaregistry/schema-registry/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/schemaregistry/schema-registry/package.json b/sdk/schemaregistry/schema-registry/package.json index 65d08d5faabc..d772f75ef750 100644 --- a/sdk/schemaregistry/schema-registry/package.json +++ b/sdk/schemaregistry/schema-registry/package.json @@ -91,7 +91,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/schemaregistry/schema-registry/test/schemaRegistry.spec.ts b/sdk/schemaregistry/schema-registry/test/schemaRegistry.spec.ts index cde865b2e88c..3f4e0b1b5ab0 100644 --- a/sdk/schemaregistry/schema-registry/test/schemaRegistry.spec.ts +++ b/sdk/schemaregistry/schema-registry/test/schemaRegistry.spec.ts @@ -3,7 +3,7 @@ import { createRecordedClient, testEnv } from "./utils/recordedClient"; import { Context } from "mocha"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert, use as chaiUse } from "chai"; import chaiPromises from "chai-as-promised"; chaiUse(chaiPromises); diff --git a/sdk/schemaregistry/schema-registry/test/utils/recordedClient.ts b/sdk/schemaregistry/schema-registry/test/utils/recordedClient.ts index 11162ba14fa3..4a7c97da54a5 100644 --- a/sdk/schemaregistry/schema-registry/test/utils/recordedClient.ts +++ b/sdk/schemaregistry/schema-registry/test/utils/recordedClient.ts @@ -4,7 +4,7 @@ import { Context } from "mocha"; import * as dotenv from "dotenv"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { isNode } from "@azure/core-util"; diff --git a/sdk/search/search-documents/karma.conf.js b/sdk/search/search-documents/karma.conf.js index 3d043d318dec..8dfa92ac4fd5 100644 --- a/sdk/search/search-documents/karma.conf.js +++ b/sdk/search/search-documents/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index aea38015f0f8..6600caa0197e 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -86,7 +86,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-json": "^4.0.0", "@rollup/plugin-multi-entry": "^3.0.0", diff --git a/sdk/search/search-documents/test/public/node/searchClient.spec.ts b/sdk/search/search-documents/test/public/node/searchClient.spec.ts index 01d0e9c135b0..b23fc356feb1 100644 --- a/sdk/search/search-documents/test/public/node/searchClient.spec.ts +++ b/sdk/search/search-documents/test/public/node/searchClient.spec.ts @@ -5,7 +5,7 @@ import { assert } from "chai"; import { Context } from "mocha"; import { Suite } from "mocha"; -import { Recorder, record, isPlaybackMode, isLiveMode } from "@azure/test-utils-recorder"; +import { Recorder, record, isPlaybackMode, isLiveMode } from "@azure-tools/test-recorder"; import { createClients, environmentSetup } from "../utils/recordedClient"; import { diff --git a/sdk/search/search-documents/test/public/node/searchIndexClient.spec.ts b/sdk/search/search-documents/test/public/node/searchIndexClient.spec.ts index 51469a6db9d7..4dbc1392eebe 100644 --- a/sdk/search/search-documents/test/public/node/searchIndexClient.spec.ts +++ b/sdk/search/search-documents/test/public/node/searchIndexClient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { isPlaybackMode, record, Recorder, isLiveMode } from "@azure/test-utils-recorder"; +import { isPlaybackMode, record, Recorder, isLiveMode } from "@azure-tools/test-recorder"; import { Context } from "mocha"; import { Suite } from "mocha"; import { assert } from "chai"; diff --git a/sdk/search/search-documents/test/public/utils/recordedClient.ts b/sdk/search/search-documents/test/public/utils/recordedClient.ts index 35adb00ec7c5..702b9ced50ca 100644 --- a/sdk/search/search-documents/test/public/utils/recordedClient.ts +++ b/sdk/search/search-documents/test/public/utils/recordedClient.ts @@ -3,7 +3,7 @@ import * as dotenv from "dotenv"; -import { env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { isNode } from "@azure/core-http"; import { diff --git a/sdk/storage/CONTRIBUTING.md b/sdk/storage/CONTRIBUTING.md index 6f27ac4910d7..d1f114089fdd 100644 --- a/sdk/storage/CONTRIBUTING.md +++ b/sdk/storage/CONTRIBUTING.md @@ -156,7 +156,7 @@ npm run test `npm run test` would run the the tests in both node and the browser. -**Link** - [Guidelines for record and playback - `@azure/test-utils-recorder`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md) +**Link** - [Guidelines for record and playback - `@azure-tools/test-recorder`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md) ## Pull Requests diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index f8b838d13da9..a7224084cf8e 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -107,7 +107,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-replace": "^2.2.0", diff --git a/sdk/storage/storage-blob-changefeed/test/blobchangefeedclient.spec.ts b/sdk/storage/storage-blob-changefeed/test/blobchangefeedclient.spec.ts index 279d4edbd219..e8c3c9514cc0 100644 --- a/sdk/storage/storage-blob-changefeed/test/blobchangefeedclient.spec.ts +++ b/sdk/storage/storage-blob-changefeed/test/blobchangefeedclient.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import * as assert from "assert"; -import { record, isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; +import { record, isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup, getBlobChangeFeedClient } from "./utils"; import { BlobChangeFeedClient, BlobChangeFeedEvent, BlobChangeFeedEventPage } from "../src"; import { AbortController } from "@azure/abort-controller"; diff --git a/sdk/storage/storage-blob-changefeed/test/utils/index.ts b/sdk/storage/storage-blob-changefeed/test/utils/index.ts index 638736fc7a95..f8814ab9ff7d 100644 --- a/sdk/storage/storage-blob-changefeed/test/utils/index.ts +++ b/sdk/storage/storage-blob-changefeed/test/utils/index.ts @@ -6,7 +6,7 @@ import { SimpleTokenCredential } from "./testutils.common"; import { StorageSharedKeyCredential, BlobServiceClient } from "@azure/storage-blob"; import { BlobChangeFeedClient } from "../../src"; import { TokenCredential } from "@azure/core-http"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; dotenv.config(); diff --git a/sdk/storage/storage-blob-changefeed/test/utils/testutils.common.ts b/sdk/storage/storage-blob-changefeed/test/utils/testutils.common.ts index 47172bb7d23a..b88a1d6e1c93 100644 --- a/sdk/storage/storage-blob-changefeed/test/utils/testutils.common.ts +++ b/sdk/storage/storage-blob-changefeed/test/utils/testutils.common.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; -import { isPlaybackMode, env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { isPlaybackMode, env, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; export const testPollerProperties = { intervalInMs: isPlaybackMode() ? 0 : undefined diff --git a/sdk/storage/storage-blob/karma.conf.js b/sdk/storage/storage-blob/karma.conf.js index 1e50e0e98898..b0922f2c8b65 100644 --- a/sdk/storage/storage-blob/karma.conf.js +++ b/sdk/storage/storage-blob/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 71ab4e149120..a225bacefdd2 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -140,7 +140,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/test-utils-perfstress": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-multi-entry": "^3.0.0", diff --git a/sdk/storage/storage-blob/test/aborter.spec.ts b/sdk/storage/storage-blob/test/aborter.spec.ts index 2f8332314841..0f5e905d5a51 100644 --- a/sdk/storage/storage-blob/test/aborter.spec.ts +++ b/sdk/storage/storage-blob/test/aborter.spec.ts @@ -6,7 +6,7 @@ import * as assert from "assert"; import { AbortController, AbortSignal } from "@azure/abort-controller"; import { ContainerClient } from "../src"; import { getBSU, recorderEnvSetup } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/appendblobclient.spec.ts b/sdk/storage/storage-blob/test/appendblobclient.spec.ts index d704fa3b498a..2c6d9d55d618 100644 --- a/sdk/storage/storage-blob/test/appendblobclient.spec.ts +++ b/sdk/storage/storage-blob/test/appendblobclient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; import { Context } from "mocha"; diff --git a/sdk/storage/storage-blob/test/blobbatch.spec.ts b/sdk/storage/storage-blob/test/blobbatch.spec.ts index 1e224e706b88..6329cf236709 100644 --- a/sdk/storage/storage-blob/test/blobbatch.spec.ts +++ b/sdk/storage/storage-blob/test/blobbatch.spec.ts @@ -11,7 +11,7 @@ import { recorderEnvSetup, getTokenBSU } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { BlobBatch } from "../src"; import { ContainerClient, diff --git a/sdk/storage/storage-blob/test/blobclient.spec.ts b/sdk/storage/storage-blob/test/blobclient.spec.ts index 7c858aa5bfc5..5bf38f8bb419 100644 --- a/sdk/storage/storage-blob/test/blobclient.spec.ts +++ b/sdk/storage/storage-blob/test/blobclient.spec.ts @@ -15,7 +15,7 @@ import { getGenericBSU, getImmutableContainerName } from "./utils"; -import { record, delay, isLiveMode, Recorder } from "@azure/test-utils-recorder"; +import { record, delay, isLiveMode, Recorder } from "@azure-tools/test-recorder"; import { BlobClient, BlockBlobClient, diff --git a/sdk/storage/storage-blob/test/blobclientpollers.spec.ts b/sdk/storage/storage-blob/test/blobclientpollers.spec.ts index c177bf40ce42..c6e19850ec7a 100644 --- a/sdk/storage/storage-blob/test/blobclientpollers.spec.ts +++ b/sdk/storage/storage-blob/test/blobclientpollers.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { getBSU } from "./utils"; -import { record, Recorder, isRecordMode, isPlaybackMode } from "@azure/test-utils-recorder"; +import { record, Recorder, isRecordMode, isPlaybackMode } from "@azure-tools/test-recorder"; import { recorderEnvSetup, testPollerProperties } from "./utils/testutils.common"; import { BlobClient, diff --git a/sdk/storage/storage-blob/test/blobserviceclient.spec.ts b/sdk/storage/storage-blob/test/blobserviceclient.spec.ts index 22e44772609f..a4f6eeae94aa 100644 --- a/sdk/storage/storage-blob/test/blobserviceclient.spec.ts +++ b/sdk/storage/storage-blob/test/blobserviceclient.spec.ts @@ -14,7 +14,7 @@ import { recorderEnvSetup, sleep } from "./utils"; -import { record, delay, Recorder, isLiveMode } from "@azure/test-utils-recorder"; +import { record, delay, Recorder, isLiveMode } from "@azure-tools/test-recorder"; import { Tags } from "../src/models"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/blobversioning.spec.ts b/sdk/storage/storage-blob/test/blobversioning.spec.ts index f7897d5c2a08..7924cf40d6bb 100644 --- a/sdk/storage/storage-blob/test/blobversioning.spec.ts +++ b/sdk/storage/storage-blob/test/blobversioning.spec.ts @@ -6,7 +6,7 @@ import * as dotenv from "dotenv"; import * as fs from "fs"; import { isNode, delay } from "@azure/core-http"; import { getBSU, recorderEnvSetup, bodyToString, getGenericCredential } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { ContainerClient, BlobServiceClient, diff --git a/sdk/storage/storage-blob/test/blockblobclient.spec.ts b/sdk/storage/storage-blob/test/blockblobclient.spec.ts index 272bf433d23f..d508e8eed458 100644 --- a/sdk/storage/storage-blob/test/blockblobclient.spec.ts +++ b/sdk/storage/storage-blob/test/blockblobclient.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { base64encode, diff --git a/sdk/storage/storage-blob/test/browser/highlevel.browser.spec.ts b/sdk/storage/storage-blob/test/browser/highlevel.browser.spec.ts index a78cb8781aa1..91e21b1d932f 100644 --- a/sdk/storage/storage-blob/test/browser/highlevel.browser.spec.ts +++ b/sdk/storage/storage-blob/test/browser/highlevel.browser.spec.ts @@ -13,7 +13,7 @@ import { getBSU, recorderEnvSetup } from "../utils/index.browser"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { ContainerClient, BlobClient, BlockBlobClient, BlobServiceClient } from "../../src"; import { Context } from "mocha"; diff --git a/sdk/storage/storage-blob/test/containerclient.spec.ts b/sdk/storage/storage-blob/test/containerclient.spec.ts index 131b2fc314dd..d976ea6f9d01 100644 --- a/sdk/storage/storage-blob/test/containerclient.spec.ts +++ b/sdk/storage/storage-blob/test/containerclient.spec.ts @@ -11,7 +11,7 @@ import { isSuperSet, recorderEnvSetup } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { URLBuilder } from "@azure/core-http"; import { ContainerClient, diff --git a/sdk/storage/storage-blob/test/encrytion.spec.ts b/sdk/storage/storage-blob/test/encrytion.spec.ts index 211c570131a9..99fd3d6d352a 100644 --- a/sdk/storage/storage-blob/test/encrytion.spec.ts +++ b/sdk/storage/storage-blob/test/encrytion.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { getBSU, recorderEnvSetup } from "./utils"; -import { record, isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; +import { record, isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; import { BlobServiceClient, BlobClient, BlockBlobClient, ContainerClient } from "../src"; import { Test_CPK_INFO } from "./utils/constants"; import { isNode } from "@azure/core-http"; diff --git a/sdk/storage/storage-blob/test/leaseclient.spec.ts b/sdk/storage/storage-blob/test/leaseclient.spec.ts index ddc27b91c27a..2b13cbed108b 100644 --- a/sdk/storage/storage-blob/test/leaseclient.spec.ts +++ b/sdk/storage/storage-blob/test/leaseclient.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { getBSU, recorderEnvSetup } from "./utils"; -import { record, delay, Recorder } from "@azure/test-utils-recorder"; +import { record, delay, Recorder } from "@azure-tools/test-recorder"; import { ContainerClient, BlobClient, BlockBlobClient, BlobServiceClient } from "../src"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/node/appendblobclient.spec.ts b/sdk/storage/storage-blob/test/node/appendblobclient.spec.ts index 6cc1d6b8b760..c1aa0a698b74 100644 --- a/sdk/storage/storage-blob/test/node/appendblobclient.spec.ts +++ b/sdk/storage/storage-blob/test/node/appendblobclient.spec.ts @@ -23,7 +23,7 @@ import { } from "../utils"; import { TokenCredential } from "@azure/core-http"; import { assertClientUsesTokenCredential } from "../utils/assert"; -import { isPlaybackMode, record, Recorder } from "@azure/test-utils-recorder"; +import { isPlaybackMode, record, Recorder } from "@azure-tools/test-recorder"; import { Test_CPK_INFO } from "../utils/constants"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/node/blobclient.spec.ts b/sdk/storage/storage-blob/test/node/blobclient.spec.ts index 916c22fddc0d..068823cf288d 100644 --- a/sdk/storage/storage-blob/test/node/blobclient.spec.ts +++ b/sdk/storage/storage-blob/test/node/blobclient.spec.ts @@ -8,7 +8,7 @@ import { join } from "path"; import { AbortController } from "@azure/abort-controller"; import { isNode, TokenCredential } from "@azure/core-http"; -import { delay, isPlaybackMode, record, Recorder } from "@azure/test-utils-recorder"; +import { delay, isPlaybackMode, record, Recorder } from "@azure-tools/test-recorder"; import { BlobClient, diff --git a/sdk/storage/storage-blob/test/node/blobserviceclient.spec.ts b/sdk/storage/storage-blob/test/node/blobserviceclient.spec.ts index d033b1ef51d4..fef357203d72 100644 --- a/sdk/storage/storage-blob/test/node/blobserviceclient.spec.ts +++ b/sdk/storage/storage-blob/test/node/blobserviceclient.spec.ts @@ -6,7 +6,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { BlobServiceClient, newPipeline, StorageSharedKeyCredential } from "../../src"; import { getBSU, getConnectionStringFromEnvironment, recorderEnvSetup } from "../utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/node/blockblobclient.spec.ts b/sdk/storage/storage-blob/test/node/blockblobclient.spec.ts index 7af669aedfa4..4bce059c6424 100644 --- a/sdk/storage/storage-blob/test/node/blockblobclient.spec.ts +++ b/sdk/storage/storage-blob/test/node/blockblobclient.spec.ts @@ -26,7 +26,7 @@ import { } from "../../src"; import { TokenCredential } from "@azure/core-http"; import { assertClientUsesTokenCredential } from "../utils/assert"; -import { isPlaybackMode, record, Recorder } from "@azure/test-utils-recorder"; +import { isPlaybackMode, record, Recorder } from "@azure-tools/test-recorder"; import { streamToBuffer3 } from "../../src/utils/utils.node"; import * as crypto from "crypto"; import { BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES } from "../../src/utils/constants"; diff --git a/sdk/storage/storage-blob/test/node/containerclient.spec.ts b/sdk/storage/storage-blob/test/node/containerclient.spec.ts index bf53678c2da1..066780b98fff 100644 --- a/sdk/storage/storage-blob/test/node/containerclient.spec.ts +++ b/sdk/storage/storage-blob/test/node/containerclient.spec.ts @@ -14,7 +14,7 @@ import { } from "../../src"; import { TokenCredential } from "@azure/core-http"; import { assertClientUsesTokenCredential } from "../utils/assert"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; describe("ContainerClient Node.js only", () => { diff --git a/sdk/storage/storage-blob/test/node/emulator-tests.spec.ts b/sdk/storage/storage-blob/test/node/emulator-tests.spec.ts index dab8c70fe18d..57df690872eb 100644 --- a/sdk/storage/storage-blob/test/node/emulator-tests.spec.ts +++ b/sdk/storage/storage-blob/test/node/emulator-tests.spec.ts @@ -11,7 +11,7 @@ import { PageBlobClient } from "../../src"; import { getBSU, getConnectionStringFromEnvironment, bodyToString, getUniqueName } from "../utils"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/node/highlevel.node.spec.ts b/sdk/storage/storage-blob/test/node/highlevel.node.spec.ts index 9e6586d6e229..46b1a8952ac6 100644 --- a/sdk/storage/storage-blob/test/node/highlevel.node.spec.ts +++ b/sdk/storage/storage-blob/test/node/highlevel.node.spec.ts @@ -16,7 +16,7 @@ import { createRandomLocalFileWithTotalSize } from "../utils"; import { RetriableReadableStreamOptions } from "../../src/utils/RetriableReadableStream"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { ContainerClient, BlobClient, BlockBlobClient, BlobServiceClient } from "../../src"; import { readStreamToLocalFileWithLogs } from "../utils/testutils.node"; import { BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES } from "../../src/utils/constants"; diff --git a/sdk/storage/storage-blob/test/node/pageblobclient.spec.ts b/sdk/storage/storage-blob/test/node/pageblobclient.spec.ts index 894d87130a5f..64111d98b42c 100644 --- a/sdk/storage/storage-blob/test/node/pageblobclient.spec.ts +++ b/sdk/storage/storage-blob/test/node/pageblobclient.spec.ts @@ -23,7 +23,7 @@ import { } from "../../src"; import { TokenCredential } from "@azure/core-http"; import { assertClientUsesTokenCredential } from "../utils/assert"; -import { record, delay, Recorder, isPlaybackMode } from "@azure/test-utils-recorder"; +import { record, delay, Recorder, isPlaybackMode } from "@azure-tools/test-recorder"; import { Test_CPK_INFO } from "../utils/constants"; import { Context } from "mocha"; diff --git a/sdk/storage/storage-blob/test/node/sas.spec.ts b/sdk/storage/storage-blob/test/node/sas.spec.ts index 172cc88cb557..75c6f096a918 100644 --- a/sdk/storage/storage-blob/test/node/sas.spec.ts +++ b/sdk/storage/storage-blob/test/node/sas.spec.ts @@ -30,7 +30,7 @@ import { recorderEnvSetup, sleep } from "../utils"; -import { delay, record, Recorder } from "@azure/test-utils-recorder"; +import { delay, record, Recorder } from "@azure-tools/test-recorder"; import { SERVICE_VERSION } from "../../src/utils/constants"; import { Context } from "mocha"; diff --git a/sdk/storage/storage-blob/test/pageblobclient.spec.ts b/sdk/storage/storage-blob/test/pageblobclient.spec.ts index 921fda7a16ba..35a78be4de12 100644 --- a/sdk/storage/storage-blob/test/pageblobclient.spec.ts +++ b/sdk/storage/storage-blob/test/pageblobclient.spec.ts @@ -17,7 +17,7 @@ import { PremiumPageBlobTier, BlobServiceClient } from "../src"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/retrypolicy.spec.ts b/sdk/storage/storage-blob/test/retrypolicy.spec.ts index 9a2011b864bc..c5aa75a38086 100644 --- a/sdk/storage/storage-blob/test/retrypolicy.spec.ts +++ b/sdk/storage/storage-blob/test/retrypolicy.spec.ts @@ -10,7 +10,7 @@ import { ContainerClient, RestError, BlobServiceClient } from "../src"; import { newPipeline, Pipeline } from "../src"; import { getBSU, recorderEnvSetup } from "./utils"; import { InjectorPolicyFactory } from "./utils/InjectorPolicyFactory"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { Context } from "mocha"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/specialnaming.spec.ts b/sdk/storage/storage-blob/test/specialnaming.spec.ts index 2e7ac6f5a903..0657d66002d7 100644 --- a/sdk/storage/storage-blob/test/specialnaming.spec.ts +++ b/sdk/storage/storage-blob/test/specialnaming.spec.ts @@ -5,7 +5,7 @@ import { BlockBlobClient, BlobServiceClient } from "../src"; import { getBSU, recorderEnvSetup } from "./utils/index"; import * as assert from "assert"; import { appendToURLPath } from "../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { ContainerClient } from "../src"; import { Context } from "mocha"; diff --git a/sdk/storage/storage-blob/test/utils/index.ts b/sdk/storage/storage-blob/test/utils/index.ts index 4e68082f955b..19894ea36adb 100644 --- a/sdk/storage/storage-blob/test/utils/index.ts +++ b/sdk/storage/storage-blob/test/utils/index.ts @@ -20,7 +20,7 @@ import { } from "../../src"; import { extractConnectionStringParts } from "../../src/utils/utils.common"; import { TokenCredential } from "@azure/core-http"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { DefaultAzureCredential } from "@azure/identity"; dotenv.config(); diff --git a/sdk/storage/storage-blob/test/utils/testutils.common.ts b/sdk/storage/storage-blob/test/utils/testutils.common.ts index 649db981499a..2fc4695530c4 100644 --- a/sdk/storage/storage-blob/test/utils/testutils.common.ts +++ b/sdk/storage/storage-blob/test/utils/testutils.common.ts @@ -3,7 +3,7 @@ import { padStart } from "../../src/utils/utils.common"; import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; -import { isPlaybackMode, env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { isPlaybackMode, env, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; export const testPollerProperties = { intervalInMs: isPlaybackMode() ? 0 : undefined diff --git a/sdk/storage/storage-file-datalake/karma.conf.js b/sdk/storage/storage-file-datalake/karma.conf.js index 7f67e9245a9d..c5c13f87fa5e 100644 --- a/sdk/storage/storage-file-datalake/karma.conf.js +++ b/sdk/storage/storage-file-datalake/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 4e72a0b9f7ed..73018b15510a 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -119,7 +119,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/test-utils-perfstress": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/storage/storage-file-datalake/test/aborter.spec.ts b/sdk/storage/storage-file-datalake/test/aborter.spec.ts index 86d07efe5d8f..2a4814d99065 100644 --- a/sdk/storage/storage-file-datalake/test/aborter.spec.ts +++ b/sdk/storage/storage-file-datalake/test/aborter.spec.ts @@ -6,7 +6,7 @@ import * as assert from "assert"; import { AbortController, AbortSignal } from "@azure/abort-controller"; import { DataLakeFileSystemClient } from "../src"; import { getDataLakeServiceClient, recorderEnvSetup } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/storage/storage-file-datalake/test/browser/highlevel.browser.spec.ts b/sdk/storage/storage-file-datalake/test/browser/highlevel.browser.spec.ts index 593ec4530418..ac2f3051e80e 100644 --- a/sdk/storage/storage-file-datalake/test/browser/highlevel.browser.spec.ts +++ b/sdk/storage/storage-file-datalake/test/browser/highlevel.browser.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; import { DataLakeFileClient, DataLakeFileSystemClient } from "../../src"; diff --git a/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts b/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts index c9706950ffae..ae009a59d716 100644 --- a/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { SpanGraph, setTracer } from "@azure/test-utils"; -import { isLiveMode, record, Recorder } from "@azure/test-utils-recorder"; +import { isLiveMode, record, Recorder } from "@azure-tools/test-recorder"; import { setSpan, context } from "@azure/core-tracing"; import * as assert from "assert"; import * as dotenv from "dotenv"; diff --git a/sdk/storage/storage-file-datalake/test/leaseclient.spec.ts b/sdk/storage/storage-file-datalake/test/leaseclient.spec.ts index 584120b1630e..7ace212a4405 100644 --- a/sdk/storage/storage-file-datalake/test/leaseclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/leaseclient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { delay, record, Recorder } from "@azure/test-utils-recorder"; +import { delay, record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; diff --git a/sdk/storage/storage-file-datalake/test/node/filesystemclient.spec.ts b/sdk/storage/storage-file-datalake/test/node/filesystemclient.spec.ts index 0cbd89c9e20f..a78929c5d443 100644 --- a/sdk/storage/storage-file-datalake/test/node/filesystemclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/node/filesystemclient.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { TokenCredential } from "@azure/core-http"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import { diff --git a/sdk/storage/storage-file-datalake/test/node/highlevel.node.spec.ts b/sdk/storage/storage-file-datalake/test/node/highlevel.node.spec.ts index 98f2f41e5517..8be56a2145a5 100644 --- a/sdk/storage/storage-file-datalake/test/node/highlevel.node.spec.ts +++ b/sdk/storage/storage-file-datalake/test/node/highlevel.node.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; import * as fs from "fs"; diff --git a/sdk/storage/storage-file-datalake/test/node/pathclient.spec.ts b/sdk/storage/storage-file-datalake/test/node/pathclient.spec.ts index 7e3295ba0568..ddf146c11356 100644 --- a/sdk/storage/storage-file-datalake/test/node/pathclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/node/pathclient.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { AbortController } from "@azure/abort-controller"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; import { join } from "path"; diff --git a/sdk/storage/storage-file-datalake/test/node/sas.spec.ts b/sdk/storage/storage-file-datalake/test/node/sas.spec.ts index 4523f47e6cea..8ff8ed1618f9 100644 --- a/sdk/storage/storage-file-datalake/test/node/sas.spec.ts +++ b/sdk/storage/storage-file-datalake/test/node/sas.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { UserDelegationKey } from "@azure/storage-blob"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import { diff --git a/sdk/storage/storage-file-datalake/test/node/serviceclient.spec.ts b/sdk/storage/storage-file-datalake/test/node/serviceclient.spec.ts index e871ba065ca3..76d4b281a325 100644 --- a/sdk/storage/storage-file-datalake/test/node/serviceclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/node/serviceclient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; diff --git a/sdk/storage/storage-file-datalake/test/pathclient.spec.ts b/sdk/storage/storage-file-datalake/test/pathclient.spec.ts index 0e09bb2e7848..4cbd48188d73 100644 --- a/sdk/storage/storage-file-datalake/test/pathclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/pathclient.spec.ts @@ -4,7 +4,7 @@ import { AbortController } from "@azure/abort-controller"; import { isNode, URLBuilder, delay } from "@azure/core-http"; import { SpanGraph, setTracer } from "@azure/test-utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { setSpan, context } from "@azure/core-tracing"; import * as assert from "assert"; import * as dotenv from "dotenv"; diff --git a/sdk/storage/storage-file-datalake/test/retrypolicy.spec.ts b/sdk/storage/storage-file-datalake/test/retrypolicy.spec.ts index 21d71c69e600..a123cfcdf13d 100644 --- a/sdk/storage/storage-file-datalake/test/retrypolicy.spec.ts +++ b/sdk/storage/storage-file-datalake/test/retrypolicy.spec.ts @@ -10,7 +10,7 @@ import { DataLakeFileSystemClient, RestError, DataLakeServiceClient } from "../s import { newPipeline, Pipeline } from "../src/Pipeline"; import { getDataLakeServiceClient, recorderEnvSetup } from "./utils"; import { InjectorPolicyFactory } from "./utils/InjectorPolicyFactory"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; dotenv.config(); diff --git a/sdk/storage/storage-file-datalake/test/serviceclient.spec.ts b/sdk/storage/storage-file-datalake/test/serviceclient.spec.ts index 57eb724e538b..b4b1265a3983 100644 --- a/sdk/storage/storage-file-datalake/test/serviceclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/serviceclient.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { delay, isLiveMode, record, Recorder } from "@azure/test-utils-recorder"; +import { delay, isLiveMode, record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; diff --git a/sdk/storage/storage-file-datalake/test/specialnaming.spec.ts b/sdk/storage/storage-file-datalake/test/specialnaming.spec.ts index 9e4d2081a37c..c34ae7faed63 100644 --- a/sdk/storage/storage-file-datalake/test/specialnaming.spec.ts +++ b/sdk/storage/storage-file-datalake/test/specialnaming.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. // import { DataLakeFileClient } from "../src"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; import * as dotenv from "dotenv"; diff --git a/sdk/storage/storage-file-datalake/test/utils.spec.ts b/sdk/storage/storage-file-datalake/test/utils.spec.ts index 28728928af8c..db6da3804d99 100644 --- a/sdk/storage/storage-file-datalake/test/utils.spec.ts +++ b/sdk/storage/storage-file-datalake/test/utils.spec.ts @@ -9,7 +9,7 @@ import { sanitizeURL, extractConnectionStringParts } from "../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "./utils"; dotenv.config(); diff --git a/sdk/storage/storage-file-datalake/test/utils/index.ts b/sdk/storage/storage-file-datalake/test/utils/index.ts index cf78354fa2e1..57093b3eb5ad 100644 --- a/sdk/storage/storage-file-datalake/test/utils/index.ts +++ b/sdk/storage/storage-file-datalake/test/utils/index.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { TokenCredential } from "@azure/core-http"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; import { randomBytes } from "crypto"; import * as dotenv from "dotenv"; import * as fs from "fs"; diff --git a/sdk/storage/storage-file-datalake/test/utils/testutils.common.ts b/sdk/storage/storage-file-datalake/test/utils/testutils.common.ts index 33a93ee9b378..db66bf69da46 100644 --- a/sdk/storage/storage-file-datalake/test/utils/testutils.common.ts +++ b/sdk/storage/storage-file-datalake/test/utils/testutils.common.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; -import { env, isPlaybackMode, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, isPlaybackMode, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { padStart } from "../../src/utils/utils.common"; diff --git a/sdk/storage/storage-file-share/karma.conf.js b/sdk/storage/storage-file-share/karma.conf.js index 0e12fa1a583e..6b9171397ac6 100644 --- a/sdk/storage/storage-file-share/karma.conf.js +++ b/sdk/storage/storage-file-share/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index a090ff352f81..66b4c048656c 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -126,7 +126,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/test-utils-perfstress": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/storage/storage-file-share/test/aborter.spec.ts b/sdk/storage/storage-file-share/test/aborter.spec.ts index c2f1462daa0a..86e629f8a836 100644 --- a/sdk/storage/storage-file-share/test/aborter.spec.ts +++ b/sdk/storage/storage-file-share/test/aborter.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import { AbortController } from "@azure/abort-controller"; import { getBSU, recorderEnvSetup } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { ShareClient } from "../src"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/directoryclient.spec.ts b/sdk/storage/storage-file-share/test/directoryclient.spec.ts index f85b5c9006c4..6d2b309321ad 100644 --- a/sdk/storage/storage-file-share/test/directoryclient.spec.ts +++ b/sdk/storage/storage-file-share/test/directoryclient.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import { getBSU, recorderEnvSetup } from "./utils"; import * as dotenv from "dotenv"; import { ShareClient, ShareDirectoryClient, FileSystemAttributes } from "../src"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { DirectoryCreateResponse } from "../src/generated/src/models"; import { truncatedISO8061Date } from "../src/utils/utils.common"; import { SpanGraph, setTracer } from "@azure/test-utils"; diff --git a/sdk/storage/storage-file-share/test/fileclient.spec.ts b/sdk/storage/storage-file-share/test/fileclient.spec.ts index 5b9213b1d416..9453946d6fc9 100644 --- a/sdk/storage/storage-file-share/test/fileclient.spec.ts +++ b/sdk/storage/storage-file-share/test/fileclient.spec.ts @@ -7,7 +7,7 @@ import * as dotenv from "dotenv"; import { AbortController } from "@azure/abort-controller"; import { isNode, URLBuilder, URLQuery } from "@azure/core-http"; import { SpanGraph, setTracer } from "@azure/test-utils"; -import { delay, isLiveMode, record, Recorder } from "@azure/test-utils-recorder"; +import { delay, isLiveMode, record, Recorder } from "@azure-tools/test-recorder"; import { FileStartCopyOptions, ShareClient, ShareDirectoryClient, ShareFileClient } from "../src"; import { FileSystemAttributes } from "../src/FileSystemAttributes"; diff --git a/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts b/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts index d2bacc6bec9c..b69572b1653a 100644 --- a/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts +++ b/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts @@ -10,7 +10,7 @@ import { getSoftDeleteBSU, getGenericBSU } from "./utils"; -import { record, delay, Recorder, isLiveMode } from "@azure/test-utils-recorder"; +import { record, delay, Recorder, isLiveMode } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { ShareServiceClient, ShareItem, ShareRootSquash } from "../src"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/leaseclient.spec.ts b/sdk/storage/storage-file-share/test/leaseclient.spec.ts index 42cadd131fe0..d448db7195bd 100644 --- a/sdk/storage/storage-file-share/test/leaseclient.spec.ts +++ b/sdk/storage/storage-file-share/test/leaseclient.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { getBSU, recorderEnvSetup, bodyToString } from "./utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { ShareClient, ShareDirectoryClient, ShareFileClient } from "../src"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/node/directoryclient.spec.ts b/sdk/storage/storage-file-share/test/node/directoryclient.spec.ts index 9fd131bc2e86..bd195ba9c9d6 100644 --- a/sdk/storage/storage-file-share/test/node/directoryclient.spec.ts +++ b/sdk/storage/storage-file-share/test/node/directoryclient.spec.ts @@ -10,7 +10,7 @@ import { StorageSharedKeyCredential, ShareClient } from "../../src"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; dotenv.config(); describe("DirectoryClient Node.js only", () => { diff --git a/sdk/storage/storage-file-share/test/node/fileclient.spec.ts b/sdk/storage/storage-file-share/test/node/fileclient.spec.ts index 02199256042d..6c6f8a5d7bec 100644 --- a/sdk/storage/storage-file-share/test/node/fileclient.spec.ts +++ b/sdk/storage/storage-file-share/test/node/fileclient.spec.ts @@ -8,7 +8,7 @@ import * as path from "path"; import * as zlib from "zlib"; import { Duplex } from "stream"; -import { isPlaybackMode, record, Recorder } from "@azure/test-utils-recorder"; +import { isPlaybackMode, record, Recorder } from "@azure-tools/test-recorder"; import { FileSASPermissions, diff --git a/sdk/storage/storage-file-share/test/node/fileserviceclient.spec.ts b/sdk/storage/storage-file-share/test/node/fileserviceclient.spec.ts index fb2b1550a4b9..185030b538dd 100644 --- a/sdk/storage/storage-file-share/test/node/fileserviceclient.spec.ts +++ b/sdk/storage/storage-file-share/test/node/fileserviceclient.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import { getBSU, getConnectionStringFromEnvironment, recorderEnvSetup } from "../utils"; import * as dotenv from "dotenv"; import { ShareServiceClient, newPipeline, StorageSharedKeyCredential } from "../../src"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; dotenv.config(); describe("FileServiceClient Node.js only", () => { diff --git a/sdk/storage/storage-file-share/test/node/highlevel.node.spec.ts b/sdk/storage/storage-file-share/test/node/highlevel.node.spec.ts index 6b6dfd6b600e..bac60384791e 100644 --- a/sdk/storage/storage-file-share/test/node/highlevel.node.spec.ts +++ b/sdk/storage/storage-file-share/test/node/highlevel.node.spec.ts @@ -11,7 +11,7 @@ import { createRandomLocalFile, getBSU, recorderEnvSetup } from "../utils"; import { RetriableReadableStreamOptions } from "../../src/utils/RetriableReadableStream"; import { ShareClient, ShareDirectoryClient, ShareFileClient } from "../../src"; import { readStreamToLocalFileWithLogs } from "../../test/utils/testutils.node"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; dotenv.config(); // tslint:disable:no-empty diff --git a/sdk/storage/storage-file-share/test/node/sas.spec.ts b/sdk/storage/storage-file-share/test/node/sas.spec.ts index cbe9f7d51aaa..c30c3efdb04d 100644 --- a/sdk/storage/storage-file-share/test/node/sas.spec.ts +++ b/sdk/storage/storage-file-share/test/node/sas.spec.ts @@ -19,7 +19,7 @@ import { generateFileSASQueryParameters } from "../../src/FileSASSignatureValues import { newPipeline } from "../../src/Pipeline"; import { ShareSASPermissions } from "../../src/ShareSASPermissions"; import { getBSU, recorderEnvSetup } from "../utils"; -import { delay, record, Recorder } from "@azure/test-utils-recorder"; +import { delay, record, Recorder } from "@azure-tools/test-recorder"; describe("Shared Access Signature (SAS) generation Node.js only", () => { let recorder: Recorder; diff --git a/sdk/storage/storage-file-share/test/node/shareclient.spec.ts b/sdk/storage/storage-file-share/test/node/shareclient.spec.ts index e488f08d2532..2b0f0f203906 100644 --- a/sdk/storage/storage-file-share/test/node/shareclient.spec.ts +++ b/sdk/storage/storage-file-share/test/node/shareclient.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { newPipeline, ShareClient, StorageSharedKeyCredential, SignedIdentifier } from "../../src"; import { getBSU, getConnectionStringFromEnvironment, recorderEnvSetup } from "./../utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; describe("ShareClient Node.js only", () => { let shareName: string; diff --git a/sdk/storage/storage-file-share/test/node/sharedkeycredentialpolicy.spec.ts b/sdk/storage/storage-file-share/test/node/sharedkeycredentialpolicy.spec.ts index 1b4b380e3bc1..349c80889465 100644 --- a/sdk/storage/storage-file-share/test/node/sharedkeycredentialpolicy.spec.ts +++ b/sdk/storage/storage-file-share/test/node/sharedkeycredentialpolicy.spec.ts @@ -3,7 +3,7 @@ import { getBSU, recorderEnvSetup } from "../utils"; import { ShareClient } from "../../src"; -import { Recorder, record } from "@azure/test-utils-recorder"; +import { Recorder, record } from "@azure-tools/test-recorder"; describe("StorageSharedKeyCredentialPolicy Node.js only", () => { let shareName: string; diff --git a/sdk/storage/storage-file-share/test/node/utils.spec.ts b/sdk/storage/storage-file-share/test/node/utils.spec.ts index 59d1548c9589..85df99c5b2f0 100644 --- a/sdk/storage/storage-file-share/test/node/utils.spec.ts +++ b/sdk/storage/storage-file-share/test/node/utils.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { extractConnectionStringParts } from "../../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "../utils"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/retrypolicy.spec.ts b/sdk/storage/storage-file-share/test/retrypolicy.spec.ts index 5958c50241e7..b1c7ff54cde5 100644 --- a/sdk/storage/storage-file-share/test/retrypolicy.spec.ts +++ b/sdk/storage/storage-file-share/test/retrypolicy.spec.ts @@ -8,7 +8,7 @@ import { RestError, ShareClient } from "../src"; import { newPipeline, Pipeline } from "../src/Pipeline"; import { getBSU, recorderEnvSetup } from "./utils"; import { InjectorPolicyFactory } from "./utils/InjectorPolicyFactory"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/shareclient.spec.ts b/sdk/storage/storage-file-share/test/shareclient.spec.ts index 89c3fc792ee7..aa8a5b5f8d51 100644 --- a/sdk/storage/storage-file-share/test/shareclient.spec.ts +++ b/sdk/storage/storage-file-share/test/shareclient.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { getBSU, getSASConnectionStringFromEnvironment, recorderEnvSetup } from "./utils"; import { ShareClient, ShareServiceClient } from "../src"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; dotenv.config(); describe("ShareClient", () => { diff --git a/sdk/storage/storage-file-share/test/specialnaming.spec.ts b/sdk/storage/storage-file-share/test/specialnaming.spec.ts index 1fb154ac7a0e..5a7a5dcfcbcc 100644 --- a/sdk/storage/storage-file-share/test/specialnaming.spec.ts +++ b/sdk/storage/storage-file-share/test/specialnaming.spec.ts @@ -5,7 +5,7 @@ import { ShareClient, ShareFileClient, ShareDirectoryClient } from "../src"; import { getBSU, recorderEnvSetup } from "./utils/index"; import * as assert from "assert"; import { appendToURLPath } from "../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/utils.spec.ts b/sdk/storage/storage-file-share/test/utils.spec.ts index 7f442b05c688..b89800d17ab6 100644 --- a/sdk/storage/storage-file-share/test/utils.spec.ts +++ b/sdk/storage/storage-file-share/test/utils.spec.ts @@ -10,7 +10,7 @@ import { extractConnectionStringParts, isIpEndpointStyle } from "../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "./utils"; import { URLBuilder } from "@azure/core-http"; dotenv.config(); diff --git a/sdk/storage/storage-file-share/test/utils/testutils.common.ts b/sdk/storage/storage-file-share/test/utils/testutils.common.ts index edcbca8c7c25..d2a50fb458fa 100644 --- a/sdk/storage/storage-file-share/test/utils/testutils.common.ts +++ b/sdk/storage/storage-file-share/test/utils/testutils.common.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { padStart } from "../../src/utils/utils.common"; -import { env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; export function isBrowser(): boolean { diff --git a/sdk/storage/storage-internal-avro/karma.conf.js b/sdk/storage/storage-internal-avro/karma.conf.js index 9a97d08d37e8..8a91b077bb6a 100644 --- a/sdk/storage/storage-internal-avro/karma.conf.js +++ b/sdk/storage/storage-internal-avro/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/storage/storage-internal-avro/package.json b/sdk/storage/storage-internal-avro/package.json index bbb21bf0293a..9c2828aaeea5 100644 --- a/sdk/storage/storage-internal-avro/package.json +++ b/sdk/storage/storage-internal-avro/package.json @@ -70,7 +70,7 @@ "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-replace": "^2.2.0", diff --git a/sdk/storage/storage-queue/karma.conf.js b/sdk/storage/storage-queue/karma.conf.js index 6bba65f91944..648987409cf6 100644 --- a/sdk/storage/storage-queue/karma.conf.js +++ b/sdk/storage/storage-queue/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index e40ef160af82..439920597e9a 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -120,7 +120,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-multi-entry": "^3.0.0", diff --git a/sdk/storage/storage-queue/test/aborter.spec.ts b/sdk/storage/storage-queue/test/aborter.spec.ts index fea1ed827227..48ec07445b8c 100644 --- a/sdk/storage/storage-queue/test/aborter.spec.ts +++ b/sdk/storage/storage-queue/test/aborter.spec.ts @@ -8,7 +8,7 @@ import { QueueClient } from "../src/QueueClient"; import { getQSU } from "./utils"; import * as dotenv from "dotenv"; import { recorderEnvSetup } from "./utils/testutils.common"; -import { Recorder, record } from "@azure/test-utils-recorder"; +import { Recorder, record } from "@azure-tools/test-recorder"; dotenv.config(); // tslint:disable:no-empty diff --git a/sdk/storage/storage-queue/test/messageidclient.spec.ts b/sdk/storage/storage-queue/test/messageidclient.spec.ts index d94ef14726c1..edca2fe1ac63 100644 --- a/sdk/storage/storage-queue/test/messageidclient.spec.ts +++ b/sdk/storage/storage-queue/test/messageidclient.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { getQSU, getSASConnectionStringFromEnvironment } from "./utils"; import { QueueClient } from "../src/QueueClient"; -import { record, delay, Recorder } from "@azure/test-utils-recorder"; +import { record, delay, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { extractConnectionStringParts } from "../src/utils/utils.common"; import { recorderEnvSetup } from "./utils/index.browser"; diff --git a/sdk/storage/storage-queue/test/node/messageidclient.spec.ts b/sdk/storage/storage-queue/test/node/messageidclient.spec.ts index c89fea4cefc3..71b375a95030 100644 --- a/sdk/storage/storage-queue/test/node/messageidclient.spec.ts +++ b/sdk/storage/storage-queue/test/node/messageidclient.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { newPipeline } from "../../src"; import { getQSU, getConnectionStringFromEnvironment } from "../utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { QueueClient } from "../../src/QueueClient"; import { StorageSharedKeyCredential } from "../../src/credentials/StorageSharedKeyCredential"; import { recorderEnvSetup } from "../utils/index.browser"; diff --git a/sdk/storage/storage-queue/test/node/messagesclient.spec.ts b/sdk/storage/storage-queue/test/node/messagesclient.spec.ts index 75f3e64fa80c..093d942f2067 100644 --- a/sdk/storage/storage-queue/test/node/messagesclient.spec.ts +++ b/sdk/storage/storage-queue/test/node/messagesclient.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { getQSU, getConnectionStringFromEnvironment } from "../utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { QueueClient } from "../../src/QueueClient"; import { StorageSharedKeyCredential } from "../../src/credentials/StorageSharedKeyCredential"; import { TokenCredential } from "@azure/core-http"; diff --git a/sdk/storage/storage-queue/test/node/queueclient.spec.ts b/sdk/storage/storage-queue/test/node/queueclient.spec.ts index df779e660f7a..cb7f477e823e 100644 --- a/sdk/storage/storage-queue/test/node/queueclient.spec.ts +++ b/sdk/storage/storage-queue/test/node/queueclient.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { getQSU, getConnectionStringFromEnvironment } from "../utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { newPipeline, QueueClient, StorageSharedKeyCredential } from "../../src"; import { TokenCredential } from "@azure/core-http"; import { assertClientUsesTokenCredential } from "../utils/assert"; diff --git a/sdk/storage/storage-queue/test/node/queueserviceclient.spec.ts b/sdk/storage/storage-queue/test/node/queueserviceclient.spec.ts index 04ca1bdd4c6b..1aa6ba0aba7a 100644 --- a/sdk/storage/storage-queue/test/node/queueserviceclient.spec.ts +++ b/sdk/storage/storage-queue/test/node/queueserviceclient.spec.ts @@ -3,7 +3,7 @@ import * as assert from "assert"; import { getQSU, getConnectionStringFromEnvironment } from "../utils"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { QueueServiceClient } from "../../src/QueueServiceClient"; import { StorageSharedKeyCredential } from "../../src/credentials/StorageSharedKeyCredential"; import { newPipeline } from "../../src"; diff --git a/sdk/storage/storage-queue/test/node/sas.spec.ts b/sdk/storage/storage-queue/test/node/sas.spec.ts index 79d47a6e6cfb..94d78d2d0a31 100644 --- a/sdk/storage/storage-queue/test/node/sas.spec.ts +++ b/sdk/storage/storage-queue/test/node/sas.spec.ts @@ -18,7 +18,7 @@ import { } from "../../src"; import { SASProtocol } from "../../src/SASQueryParameters"; import { getQSU } from "../utils/index"; -import { record, delay, Recorder } from "@azure/test-utils-recorder"; +import { record, delay, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "../utils/index.browser"; describe("Shared Access Signature (SAS) generation Node.js only", () => { diff --git a/sdk/storage/storage-queue/test/node/utils.spec.ts b/sdk/storage/storage-queue/test/node/utils.spec.ts index 80fc45e552a8..c3212da95a51 100644 --- a/sdk/storage/storage-queue/test/node/utils.spec.ts +++ b/sdk/storage/storage-queue/test/node/utils.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { extractConnectionStringParts } from "../../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "../utils/index.browser"; dotenv.config(); diff --git a/sdk/storage/storage-queue/test/queueclient.spec.ts b/sdk/storage/storage-queue/test/queueclient.spec.ts index 9dded0c57cb7..0e88992ddb1f 100644 --- a/sdk/storage/storage-queue/test/queueclient.spec.ts +++ b/sdk/storage/storage-queue/test/queueclient.spec.ts @@ -8,7 +8,7 @@ import { QueueClient, QueueServiceClient } from "../src"; import { setSpan, context } from "@azure/core-tracing"; import { SpanGraph, setTracer } from "@azure/test-utils"; import { URLBuilder, RestError } from "@azure/core-http"; -import { Recorder, record } from "@azure/test-utils-recorder"; +import { Recorder, record } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "./utils/testutils.common"; dotenv.config(); diff --git a/sdk/storage/storage-queue/test/queueclientmessages.spec.ts b/sdk/storage/storage-queue/test/queueclientmessages.spec.ts index dc3f2d5df10f..1540c2fae8f7 100644 --- a/sdk/storage/storage-queue/test/queueclientmessages.spec.ts +++ b/sdk/storage/storage-queue/test/queueclientmessages.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { getQSU, getSASConnectionStringFromEnvironment } from "./utils"; import { QueueClient } from "../src/QueueClient"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import * as dotenv from "dotenv"; import { extractConnectionStringParts } from "../src/utils/utils.common"; import { recorderEnvSetup } from "./utils/testutils.common"; diff --git a/sdk/storage/storage-queue/test/queueserviceclient.spec.ts b/sdk/storage/storage-queue/test/queueserviceclient.spec.ts index 3eab0f6d03b5..cc1e72e5cb35 100644 --- a/sdk/storage/storage-queue/test/queueserviceclient.spec.ts +++ b/sdk/storage/storage-queue/test/queueserviceclient.spec.ts @@ -5,7 +5,7 @@ import * as assert from "assert"; import * as dotenv from "dotenv"; import { QueueServiceClient } from "../src/QueueServiceClient"; import { getAlternateQSU, getQSU, getSASConnectionStringFromEnvironment } from "./utils"; -import { record, delay, Recorder } from "@azure/test-utils-recorder"; +import { record, delay, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "./utils/index.browser"; dotenv.config(); diff --git a/sdk/storage/storage-queue/test/retrypolicy.spec.ts b/sdk/storage/storage-queue/test/retrypolicy.spec.ts index 3dd1728c80f3..bf1c841b7145 100644 --- a/sdk/storage/storage-queue/test/retrypolicy.spec.ts +++ b/sdk/storage/storage-queue/test/retrypolicy.spec.ts @@ -9,7 +9,7 @@ import { AbortController } from "@azure/abort-controller"; import { Pipeline } from "../src/Pipeline"; import { getQSU } from "./utils"; import { InjectorPolicyFactory } from "./utils/InjectorPolicyFactory"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "./utils/index.browser"; dotenv.config(); diff --git a/sdk/storage/storage-queue/test/utils.spec.ts b/sdk/storage/storage-queue/test/utils.spec.ts index 3f006b60b39a..5d42d488748c 100644 --- a/sdk/storage/storage-queue/test/utils.spec.ts +++ b/sdk/storage/storage-queue/test/utils.spec.ts @@ -10,7 +10,7 @@ import { extractConnectionStringParts, isIpEndpointStyle } from "../src/utils/utils.common"; -import { record, Recorder } from "@azure/test-utils-recorder"; +import { record, Recorder } from "@azure-tools/test-recorder"; import { recorderEnvSetup } from "./utils/testutils.common"; import { URLBuilder } from "@azure/core-http"; dotenv.config(); diff --git a/sdk/storage/storage-queue/test/utils/index.ts b/sdk/storage/storage-queue/test/utils/index.ts index 7f2254124e16..b4ed22d8f164 100644 --- a/sdk/storage/storage-queue/test/utils/index.ts +++ b/sdk/storage/storage-queue/test/utils/index.ts @@ -12,7 +12,7 @@ import { AccountSASServices } from "../../src"; import { extractConnectionStringParts } from "../../src/utils/utils.common"; -import { env } from "@azure/test-utils-recorder"; +import { env } from "@azure-tools/test-recorder"; // Uncomment if need to enable logger when debugging // import {HttpPipelineLogLevel} from "../../src" diff --git a/sdk/storage/storage-queue/test/utils/testutils.common.ts b/sdk/storage/storage-queue/test/utils/testutils.common.ts index baea022d0f51..83dd6163b8ee 100644 --- a/sdk/storage/storage-queue/test/utils/testutils.common.ts +++ b/sdk/storage/storage-queue/test/utils/testutils.common.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { padStart } from "../../src/utils/utils.common"; -import { env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; export function isBrowser(): boolean { return typeof self !== "undefined"; diff --git a/sdk/synapse/synapse-access-control/karma.conf.js b/sdk/synapse/synapse-access-control/karma.conf.js index 6802c8b9d0d7..e93dbd46c059 100644 --- a/sdk/synapse/synapse-access-control/karma.conf.js +++ b/sdk/synapse/synapse-access-control/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/synapse/synapse-access-control/package.json b/sdk/synapse/synapse-access-control/package.json index d760641bbdbf..6f7d30cbd535 100644 --- a/sdk/synapse/synapse-access-control/package.json +++ b/sdk/synapse/synapse-access-control/package.json @@ -46,7 +46,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/synapse/synapse-access-control/test/public/test.spec.ts b/sdk/synapse/synapse-access-control/test/public/test.spec.ts index 2218f97f9198..50dfbc64710b 100644 --- a/sdk/synapse/synapse-access-control/test/public/test.spec.ts +++ b/sdk/synapse/synapse-access-control/test/public/test.spec.ts @@ -1,5 +1,5 @@ import { AccessControlClient } from "../../src/accessControlClient"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-access-control/test/public/utils/recordedClient.ts b/sdk/synapse/synapse-access-control/test/public/utils/recordedClient.ts index 953a2e44ae77..8e915fcd3c83 100644 --- a/sdk/synapse/synapse-access-control/test/public/utils/recordedClient.ts +++ b/sdk/synapse/synapse-access-control/test/public/utils/recordedClient.ts @@ -3,7 +3,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import { AccessControlClient, AccessControlClientOptionalParams } from "../../../src"; diff --git a/sdk/synapse/synapse-artifacts/karma.conf.js b/sdk/synapse/synapse-artifacts/karma.conf.js index 6802c8b9d0d7..e93dbd46c059 100644 --- a/sdk/synapse/synapse-artifacts/karma.conf.js +++ b/sdk/synapse/synapse-artifacts/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index 790fbff12813..26b860e5cb83 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -37,7 +37,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/synapse/synapse-artifacts/test/public/bigDataPools.spec.ts b/sdk/synapse/synapse-artifacts/test/public/bigDataPools.spec.ts index be9eac73b004..03a0ba06c653 100644 --- a/sdk/synapse/synapse-artifacts/test/public/bigDataPools.spec.ts +++ b/sdk/synapse/synapse-artifacts/test/public/bigDataPools.spec.ts @@ -1,5 +1,5 @@ import { ArtifactsClient } from "../../src/artifactsClient"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-artifacts/test/public/dataFlows.spec.ts b/sdk/synapse/synapse-artifacts/test/public/dataFlows.spec.ts index a27a51833113..ce63e67a58c6 100644 --- a/sdk/synapse/synapse-artifacts/test/public/dataFlows.spec.ts +++ b/sdk/synapse/synapse-artifacts/test/public/dataFlows.spec.ts @@ -1,5 +1,5 @@ import { ArtifactsClient } from "../../src/artifactsClient"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-artifacts/test/public/integrationRuntimes.spec.ts b/sdk/synapse/synapse-artifacts/test/public/integrationRuntimes.spec.ts index 02919abf1425..0b2a1d1fc346 100644 --- a/sdk/synapse/synapse-artifacts/test/public/integrationRuntimes.spec.ts +++ b/sdk/synapse/synapse-artifacts/test/public/integrationRuntimes.spec.ts @@ -1,5 +1,5 @@ import { ArtifactsClient } from "../../src/artifactsClient"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-artifacts/test/public/library.spec.ts b/sdk/synapse/synapse-artifacts/test/public/library.spec.ts index c77b86a17637..cf64c3a96c94 100644 --- a/sdk/synapse/synapse-artifacts/test/public/library.spec.ts +++ b/sdk/synapse/synapse-artifacts/test/public/library.spec.ts @@ -1,5 +1,5 @@ import { ArtifactsClient } from "../../src/artifactsClient"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-artifacts/test/public/utils/recordedClient.ts b/sdk/synapse/synapse-artifacts/test/public/utils/recordedClient.ts index 1ae69b8115d7..3070d7d81f02 100644 --- a/sdk/synapse/synapse-artifacts/test/public/utils/recordedClient.ts +++ b/sdk/synapse/synapse-artifacts/test/public/utils/recordedClient.ts @@ -3,7 +3,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import { ArtifactsClient, ArtifactsClientOptionalParams } from "../../../src"; diff --git a/sdk/synapse/synapse-managed-private-endpoints/karma.conf.js b/sdk/synapse/synapse-managed-private-endpoints/karma.conf.js index 6802c8b9d0d7..e93dbd46c059 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/karma.conf.js +++ b/sdk/synapse/synapse-managed-private-endpoints/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/synapse/synapse-managed-private-endpoints/package.json b/sdk/synapse/synapse-managed-private-endpoints/package.json index f1546d47a946..41b8e835b064 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/package.json +++ b/sdk/synapse/synapse-managed-private-endpoints/package.json @@ -44,7 +44,7 @@ "module": "./dist-esm/src/index.js", "types": "./types/synapse-managed-private-endpoints.d.ts", "devDependencies": { - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/identity": "2.0.0-beta.6", "typescript": "~4.2.0", "eslint": "^7.15.0", diff --git a/sdk/synapse/synapse-managed-private-endpoints/test/public/test.spec.ts b/sdk/synapse/synapse-managed-private-endpoints/test/public/test.spec.ts index f4c2e7aa411a..abcc2062b871 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/test/public/test.spec.ts +++ b/sdk/synapse/synapse-managed-private-endpoints/test/public/test.spec.ts @@ -1,4 +1,4 @@ -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { ManagedPrivateEndpoint, ManagedPrivateEndpointsClient } from "../../src"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-managed-private-endpoints/test/public/utils/recordedClient.ts b/sdk/synapse/synapse-managed-private-endpoints/test/public/utils/recordedClient.ts index 3ed68e1d4f02..246cfc280729 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/test/public/utils/recordedClient.ts +++ b/sdk/synapse/synapse-managed-private-endpoints/test/public/utils/recordedClient.ts @@ -3,7 +3,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import { diff --git a/sdk/synapse/synapse-monitoring/karma.conf.js b/sdk/synapse/synapse-monitoring/karma.conf.js index 6802c8b9d0d7..e93dbd46c059 100644 --- a/sdk/synapse/synapse-monitoring/karma.conf.js +++ b/sdk/synapse/synapse-monitoring/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/synapse/synapse-monitoring/test/public/test.spec.ts b/sdk/synapse/synapse-monitoring/test/public/test.spec.ts index 865968adad87..29487ed46576 100644 --- a/sdk/synapse/synapse-monitoring/test/public/test.spec.ts +++ b/sdk/synapse/synapse-monitoring/test/public/test.spec.ts @@ -1,5 +1,5 @@ import { MonitoringClient } from "../../src/monitoringClient"; -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-monitoring/test/public/utils/recordedClient.ts b/sdk/synapse/synapse-monitoring/test/public/utils/recordedClient.ts index 7bc9aae5ae1d..eb877e82fa83 100644 --- a/sdk/synapse/synapse-monitoring/test/public/utils/recordedClient.ts +++ b/sdk/synapse/synapse-monitoring/test/public/utils/recordedClient.ts @@ -3,7 +3,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import { MonitoringClient, MonitoringClientOptionalParams } from "../../../src"; diff --git a/sdk/synapse/synapse-spark/karma.conf.js b/sdk/synapse/synapse-spark/karma.conf.js index 6802c8b9d0d7..e93dbd46c059 100644 --- a/sdk/synapse/synapse-spark/karma.conf.js +++ b/sdk/synapse/synapse-spark/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/synapse/synapse-spark/package.json b/sdk/synapse/synapse-spark/package.json index da654604d8b6..97f2a6114b4d 100644 --- a/sdk/synapse/synapse-spark/package.json +++ b/sdk/synapse/synapse-spark/package.json @@ -37,7 +37,7 @@ "uglify-js": "^3.4.9", "@microsoft/api-extractor": "7.7.11", "typedoc": "0.15.2", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/identity": "2.0.0-beta.6", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", diff --git a/sdk/synapse/synapse-spark/test/public/test.spec.ts b/sdk/synapse/synapse-spark/test/public/test.spec.ts index 6bf65046a57a..d26ce80bae65 100644 --- a/sdk/synapse/synapse-spark/test/public/test.spec.ts +++ b/sdk/synapse/synapse-spark/test/public/test.spec.ts @@ -1,4 +1,4 @@ -import { Recorder } from "@azure/test-utils-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { SparkClient } from "../../src"; import { createClient, createRecorder } from "./utils/recordedClient"; diff --git a/sdk/synapse/synapse-spark/test/public/utils/recordedClient.ts b/sdk/synapse/synapse-spark/test/public/utils/recordedClient.ts index 829634cc0b7f..a3fef3437758 100644 --- a/sdk/synapse/synapse-spark/test/public/utils/recordedClient.ts +++ b/sdk/synapse/synapse-spark/test/public/utils/recordedClient.ts @@ -3,7 +3,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import { SparkClient, SparkClientOptionalParams } from "../../../src"; diff --git a/sdk/tables/data-tables/karma.conf.js b/sdk/tables/data-tables/karma.conf.js index 8cbf28efc5e3..e2bfce253a31 100644 --- a/sdk/tables/data-tables/karma.conf.js +++ b/sdk/tables/data-tables/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/tables/data-tables/package.json b/sdk/tables/data-tables/package.json index 0ba7f8fd6cfd..c3755019eefa 100644 --- a/sdk/tables/data-tables/package.json +++ b/sdk/tables/data-tables/package.json @@ -130,7 +130,7 @@ "typescript": "~4.2.0", "util": "^0.12.1", "dotenv": "^8.2.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@azure/test-utils": "^1.0.0", "rollup-plugin-shim": "^1.0.0", "@rollup/plugin-inject": "^4.0.0", diff --git a/sdk/tables/data-tables/test/public/accessPolicy.spec.ts b/sdk/tables/data-tables/test/public/accessPolicy.spec.ts index 5bc6e4cb5380..fbcc9fb6a18d 100644 --- a/sdk/tables/data-tables/test/public/accessPolicy.spec.ts +++ b/sdk/tables/data-tables/test/public/accessPolicy.spec.ts @@ -3,7 +3,7 @@ import { TableClient } from "../../src"; import { Context } from "mocha"; -import { record, Recorder, isPlaybackMode } from "@azure/test-utils-recorder"; +import { record, Recorder, isPlaybackMode } from "@azure-tools/test-recorder"; import { recordedEnvironmentSetup, createTableClient } from "./utils/recordedClient"; import { isNode } from "@azure/test-utils"; import { assert } from "chai"; diff --git a/sdk/tables/data-tables/test/public/tableclient.spec.ts b/sdk/tables/data-tables/test/public/tableclient.spec.ts index 35f74d1ece28..be7525c34adc 100644 --- a/sdk/tables/data-tables/test/public/tableclient.spec.ts +++ b/sdk/tables/data-tables/test/public/tableclient.spec.ts @@ -4,7 +4,7 @@ import { TableClient, TableEntity, Edm, odata } from "../../src"; import { Context } from "mocha"; import { assert } from "chai"; -import { record, Recorder, isPlaybackMode, isLiveMode } from "@azure/test-utils-recorder"; +import { record, Recorder, isPlaybackMode, isLiveMode } from "@azure-tools/test-recorder"; import { recordedEnvironmentSetup, createTableClient, diff --git a/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts b/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts index 405a29b8250d..c7c6aa024e95 100644 --- a/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts +++ b/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts @@ -3,7 +3,7 @@ import { TableItem, TableServiceClient } from "../../src"; import { Context } from "mocha"; -import { record, Recorder, isPlaybackMode, isLiveMode } from "@azure/test-utils-recorder"; +import { record, Recorder, isPlaybackMode, isLiveMode } from "@azure-tools/test-recorder"; import { recordedEnvironmentSetup, createTableServiceClient, diff --git a/sdk/tables/data-tables/test/public/transaction.spec.ts b/sdk/tables/data-tables/test/public/transaction.spec.ts index 2c5ed0dd5553..4d2bfc880f5b 100644 --- a/sdk/tables/data-tables/test/public/transaction.spec.ts +++ b/sdk/tables/data-tables/test/public/transaction.spec.ts @@ -4,7 +4,7 @@ import { TableClient, odata, TransactionAction, TableTransaction } from "../../src"; import { Context } from "mocha"; import { assert } from "chai"; -import { record, Recorder, isPlaybackMode, isLiveMode } from "@azure/test-utils-recorder"; +import { record, Recorder, isPlaybackMode, isLiveMode } from "@azure-tools/test-recorder"; import { recordedEnvironmentSetup, createTableClient, diff --git a/sdk/tables/data-tables/test/public/utils/recordedClient.ts b/sdk/tables/data-tables/test/public/utils/recordedClient.ts index 7f2f08e8f590..6d382203aba6 100644 --- a/sdk/tables/data-tables/test/public/utils/recordedClient.ts +++ b/sdk/tables/data-tables/test/public/utils/recordedClient.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { ClientSecretCredential } from "@azure/identity"; import { TableClient, TableServiceClient } from "../../../src"; diff --git a/sdk/template/template/karma.conf.js b/sdk/template/template/karma.conf.js index a244521314fc..68297cc53778 100644 --- a/sdk/template/template/karma.conf.js +++ b/sdk/template/template/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/template/template/package.json b/sdk/template/template/package.json index 92eb5fd3b6b8..b2a43817ca1b 100644 --- a/sdk/template/template/package.json +++ b/sdk/template/template/package.json @@ -88,7 +88,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.5", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/template/template/test/public/configurationClient.spec.ts b/sdk/template/template/test/public/configurationClient.spec.ts index 3915e67de6e1..1105de3c2ac9 100644 --- a/sdk/template/template/test/public/configurationClient.spec.ts +++ b/sdk/template/template/test/public/configurationClient.spec.ts @@ -7,7 +7,7 @@ import { Context } from "mocha"; import { ConfigurationClient } from "../../src"; import { ClientSecretCredential } from "@azure/identity"; -import { env, record, Recorder } from "@azure/test-utils-recorder"; +import { env, record, Recorder } from "@azure-tools/test-recorder"; // When the recorder observes the values of these environment variables in any // recorded HTTP request or response, it will replace them with the values they diff --git a/sdk/test-utils/ci.yml b/sdk/test-utils/ci.yml index 54e4c7bb67bb..225e42c54616 100644 --- a/sdk/test-utils/ci.yml +++ b/sdk/test-utils/ci.yml @@ -27,5 +27,5 @@ extends: ServiceDirectory: test-utils IncludeRelease: false Artifacts: - - name: azure-test-utils-recorder - safeName: azuretestutilsrecorder + - name: azure-tools-test-recorder + safeName: azuretoolstestrecorder diff --git a/sdk/test-utils/recorder/GUIDELINES.md b/sdk/test-utils/recorder/GUIDELINES.md index 6826238bb19a..291d40c04a40 100644 --- a/sdk/test-utils/recorder/GUIDELINES.md +++ b/sdk/test-utils/recorder/GUIDELINES.md @@ -19,13 +19,13 @@ - Else If TEST_MODE = "playback" (or if the TEST_MODE is neither "record" nor "live"), - Existing recordings are played back as responses to the HTTP requests in the tests -Add `@azure/test-utils-recorder` as a devDependency of your sdk. +Add `@azure-tools/test-recorder` as a devDependency of your sdk. ## Adding a new test/test-suite - `recorder` package assumes that the tests in the sdk are leveraging [mocha](https://mochajs.org/) and [rollup](https://rollupjs.org/guide/en/) (and [karma](https://karma-runner.github.io/latest/index.html) test runner for browser tests) as suggested by the [template](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template) package in the repo. -- `record` from `@azure/test-utils-recorder` package should be imported in the test files. +- `record` from `@azure-tools/test-recorder` package should be imported in the test files. ### Recording the tests @@ -37,7 +37,7 @@ Add `@azure/test-utils-recorder` as a devDependency of your sdk. - Follow the below template for adding a new test. `beforeEach` and `afterEach` sections are compulsory. ```typescript - import { record } from "@azure/test-utils-recorder"; + import { record } from "@azure-tools/test-recorder"; describe("", () => { beforeEach(async function() { @@ -75,7 +75,7 @@ Add `@azure/test-utils-recorder` as a devDependency of your sdk. } ``` -- `RecorderEnvironmentSetup` type is being exposed from the `@azure/test-utils-recorder` package. +- `RecorderEnvironmentSetup` type is being exposed from the `@azure-tools/test-recorder` package. Environment variables for the tests in the sdk can be managed with the setup on a per-test basis. - `replaceableVariables: { [ENV_VAR: string]: string };` @@ -152,7 +152,7 @@ Add `@azure/test-utils-recorder` as a devDependency of your sdk. - If a new test/test-suite is added, execute the test/test-suite(or all the tests) by setting the env variable `TEST_MODE = record` and **commit** the generated recording files. -### Importing `delay` from `@azure/test-utils-recorder` +### Importing `delay` from `@azure-tools/test-recorder` - This `delay` has no effect if the `TEST_MODE` is `"playback"`. - `delay` works as expected(`await delay()`) if the `TEST_MODE` is not `"playback"`. @@ -256,10 +256,10 @@ Add `@azure/test-utils-recorder` as a devDependency of your sdk. ``` - Saving the recordings of browser tests in the `recordings/browsers` folder. - Import `jsonRecordingFilterFunction` from `"@azure/test-utils-recorder"` as shown below. + Import `jsonRecordingFilterFunction` from `"@azure-tools/test-recorder"` as shown below. ```javascript - const { jsonRecordingFilterFunction } = require("@azure/test-utils-recorder"); + const { jsonRecordingFilterFunction } = require("@azure-tools/test-recorder"); ``` jsonToFileReporter in karma.conf.js filters the JSON strings in console.logs diff --git a/sdk/test-utils/recorder/README.md b/sdk/test-utils/recorder/README.md index 62a6c1531e2b..44369063a6a1 100644 --- a/sdk/test-utils/recorder/README.md +++ b/sdk/test-utils/recorder/README.md @@ -1,4 +1,6 @@ -## Azure test-utils-recorder SDK client library for JavaScript +## Azure test-recorder SDK client library for JavaScript + +### **Note: This project is a test utility that assits with testing the packages maintained at the Azure SDK for JavaScript repository. This is not intended for the public utilization.** The Azure SDK for JavaScript is composed of a multitude of repositories that attempt to deliver a common, homogenous SDK to make use of all of the services @@ -13,14 +15,14 @@ questions: - How to write tests that support parallelism? - How to write isomorphic tests for NodeJS and the Browsers? -Our non-published package `@azure/test-utils-recorder` attempts to provide an +Our non-published package `@azure-tools/test-recorder` attempts to provide an answer for those questions, as you'll be able to see throughout this README. This library provides interfaces and helper methods to equip the SDKs in the azure-sdk-for-js repo with the recording and playback capabilities for the tests, it targets HTTP requests in both Node.js and the Browsers. -test-utils-recorder, as part of the Test Utils available in this repository, it +test-recorder, as part of the Test Utils available in this repository, it is supposed to be added only as a devDependency and should be used only for the tests of an sdk. @@ -62,7 +64,7 @@ tests of an sdk. ## Getting started We're about to go through how to set up your project to use the -`@azure/test-utils-recorder` package. +`@azure-tools/test-recorder` package. This document assumes familiarity with [git](https://git-scm.com) and [rush](https://rushjs.io). You can read more about how we use rush in the following links: @@ -70,13 +72,13 @@ You can read more about how we use rush in the following links: - Rush used for [Project Orchestration](https://github.com/sadasant/azure-sdk-for-js/blob/master/CONTRIBUTING.md#project-orchestration). - [Rush for NPM users](https://github.com/sadasant/azure-sdk-for-js/blob/master/CONTRIBUTING.md#rush-for-npm-users). -Keep in mind that `@azure/test-utils-recorder` is not a published package. It +Keep in mind that `@azure-tools/test-recorder` is not a published package. It is only intended to be used by the libraries in the azure-sdk-for-js repository (at least for now). ### Installing the package -To install the `@azure/test-utils-recorder` package, you'll need to start by +To install the `@azure-tools/test-recorder` package, you'll need to start by cloning our azure-sdk-for-js repository. One way of doing this is by using the git command line interface, as follows: @@ -99,15 +101,15 @@ This will optimistically assume you're in a fresh clone. From this point forward, we'll assume that you're developing (perhaps contributing!) to one of the azure-sdk-for-js's libraries. So, your next step is to change directory to the path relevant to your project. Let's say you want -to add the `@azure/test-utils-recorder` package to `@azure/keyvault-keys` (it -already uses test-utils-recorder, but bear with us), you'll be doing the +to add the `@azure-tools/test-recorder` package to `@azure/keyvault-keys` (it +already uses test-recorder, but bear with us), you'll be doing the following: ```bash cd sdk/keyvault/keyvault-keys ``` -Once there, you can add the test-utils-recorder package by changing your package.json +Once there, you can add the test-recorder package by changing your package.json to include the following line in the devDependencies: ```bash @@ -115,7 +117,7 @@ to include the following line in the devDependencies: // ... your package.json properties "devDependencies": { // ... your devDependencies - "@azure/test-utils-recorder": "1.0.0", + "@azure-tools/test-recorder": "1.0.0", // ... more of your devDependencies }, // ... more of your package.json properties @@ -131,13 +133,13 @@ rush update && rush install And you're ready! Now you can use the common recorder in your code, as shown below: ```typescript -import * as commonRecorder from "@azure/test-utils-recorder"; +import * as commonRecorder from "@azure-tools/test-recorder"; ``` Or, if you know what functions you want to import, you can also do the following: ```typescript -import { record, env, delay } from "@azure/test-utils-recorder"; +import { record, env, delay } from "@azure-tools/test-recorder"; ``` The common recorder provides the following public methods and properties: @@ -189,7 +191,7 @@ recording tests right away by using the exported method `record()`. We'll get into the details further down this document. This function will do recordings, or will play back previous recordings, depending on an environment variable: `TEST_MODE`. If the environment variable `TEST_MODE` is empty, `record()` (and most -of the functions provided by test-utils-recorder) won't be doing anything. You'll need +of the functions provided by test-recorder) won't be doing anything. You'll need to set the `TEST_MODE` environment variable to `record` (or `soft-record`) to start recording, and then to `playback` to play the recordings back at your code. @@ -300,12 +302,12 @@ section of our guidelines: To record your tests, make sure to set the environment variable `TEST_MODE` to `record` or `soft-record`, then in your code, call to the `record()` function exported from -`@azure/test-utils-recorder`, then call it before the http request you want to +`@azure-tools/test-recorder`, then call it before the http request you want to make. In the following example, we'll invoke the `record()` method before authenticating our KeyVault client: ```typescript -import { env, record, Recorder } from "@azure/test-utils-recorder"; +import { env, record, Recorder } from "@azure-tools/test-recorder"; import { KeysClient } from "@azure/keyvault-keys"; describe("My test", () => { @@ -429,7 +431,7 @@ about this feature [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sd Live tests need to do sensitive operations, like authenticating with your Azure credentials. To protect this information from the recordings, -`@azure/test-utils-recorder` provides the following functions: +`@azure-tools/test-recorder` provides the following functions: - `setReplaceableVariables`, which will allow you to hide sensitive content from the environment variables (more on that later). @@ -450,7 +452,7 @@ store instead. To solve this issue in our previous example test, you may do the ```typescript // You'll be most certainly importing more than this method. -import { setReplaceableVariables } from "@azure/test-utils-recorder"; +import { setReplaceableVariables } from "@azure-tools/test-recorder"; // Do this inside of the beforeEach, before you start recording. setReplaceableVariables({ @@ -505,7 +507,7 @@ as part of your recordings. A common issue while running integration tests is that, sometimes two persons or machines might try to run the same set of tests against the same resource. -This is not directly related to the `@azure/test-utils-recorder` package, but +This is not directly related to the `@azure-tools/test-recorder` package, but if you're getting into issues because of concurrent conflicting requests, we understand, and we might be able to help by providing you with the following suggestions: @@ -524,7 +526,7 @@ as ideas. We understand that might not be an easy problem to fix. ### Isomorphic tests -`@azure/test-utils-recorder` does support running tests in the browser. If you +`@azure-tools/test-recorder` does support running tests in the browser. If you use Karma, as long as your karma configuration is correct, your tests should work both on NodeJS and in the browsers! @@ -542,7 +544,7 @@ The common recorder might not be used yet in each one of the libraries in the azure-sdk-for-js repository (we're working on it). In the mean time, an easy way to find where we're using this package is by going through the following search link: - + ## Contributing diff --git a/sdk/test-utils/recorder/package.json b/sdk/test-utils/recorder/package.json index 61f31298b380..4d8484ce6ccd 100644 --- a/sdk/test-utils/recorder/package.json +++ b/sdk/test-utils/recorder/package.json @@ -1,5 +1,5 @@ { - "name": "@azure/test-utils-recorder", + "name": "@azure-tools/test-recorder", "version": "1.0.0", "sdk-type": "client", "description": "This library provides interfaces and helper methods to provide recording and playback capabilities for the tests in Azure JS/TS SDKs", diff --git a/sdk/test-utils/recorder/src/createRecorder.ts b/sdk/test-utils/recorder/src/createRecorder.ts index 7e3795b167c5..502c77fa9983 100644 --- a/sdk/test-utils/recorder/src/createRecorder.ts +++ b/sdk/test-utils/recorder/src/createRecorder.ts @@ -28,7 +28,7 @@ export class NockRecorder extends BaseRecorder { public playback(recorderEnvironmentSetup: RecorderEnvironmentSetup, testFilePath: string): void { super.init(recorderEnvironmentSetup); /** - * `@azure/test-utils-recorder` package is used for both the browser and node tests + * `@azure-tools/test-recorder` package is used for both the browser and node tests * * During the playback mode, * `path` module is leveraged to import the node test recordings and `path` module can't be imported in the browser. diff --git a/sdk/test-utils/test-utils/package.json b/sdk/test-utils/test-utils/package.json index 3997bd1104ac..cd1fe9330a40 100644 --- a/sdk/test-utils/test-utils/package.json +++ b/sdk/test-utils/test-utils/package.json @@ -56,7 +56,7 @@ "private": true, "dependencies": { "mocha": "^7.1.1", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "tslib": "^2.2.0", "@azure/core-tracing": "1.0.0-preview.13" }, diff --git a/sdk/test-utils/test-utils/src/multiVersion.ts b/sdk/test-utils/test-utils/src/multiVersion.ts index 4b8d429257b2..6d3704aa4ce9 100644 --- a/sdk/test-utils/test-utils/src/multiVersion.ts +++ b/sdk/test-utils/test-utils/src/multiVersion.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { env, isLiveMode } from "@azure/test-utils-recorder"; +import { env, isLiveMode } from "@azure-tools/test-recorder"; import { getGlobalObject } from "./global"; export interface TestFunctionWrapper { diff --git a/sdk/textanalytics/ai-text-analytics/karma.conf.js b/sdk/textanalytics/ai-text-analytics/karma.conf.js index 23a7f0ce2627..eaf0296e5373 100644 --- a/sdk/textanalytics/ai-text-analytics/karma.conf.js +++ b/sdk/textanalytics/ai-text-analytics/karma.conf.js @@ -9,7 +9,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index 649fbbd63006..01fa690f2c16 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -103,7 +103,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.6", "@azure/test-utils": "^1.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", diff --git a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts index 9034ce4572c3..a906697b4549 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts @@ -9,7 +9,7 @@ import chaiPromises from "chai-as-promised"; chaiUse(chaiPromises); import { matrix } from "@azure/test-utils"; -import { isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; +import { isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; import { AuthMethod, createClient, createRecorder } from "./utils/recordedClient"; import { diff --git a/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts b/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts index d7404289d31f..f1223b7fab1d 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts @@ -5,7 +5,7 @@ import { Context } from "mocha"; -import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { env, Recorder, record, RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; import { TokenCredential, ClientSecretCredential } from "@azure/identity"; import { AzureKeyCredential, TextAnalyticsClient, TextAnalyticsClientOptions } from "../../../src/"; diff --git a/sdk/web-pubsub/web-pubsub-express/karma.conf.js b/sdk/web-pubsub/web-pubsub-express/karma.conf.js index 5c92ad888909..322b7d176f40 100644 --- a/sdk/web-pubsub/web-pubsub-express/karma.conf.js +++ b/sdk/web-pubsub/web-pubsub-express/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index 62cda67f612b..49ba0a79d4a4 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -62,7 +62,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/web-pubsub/web-pubsub/karma.conf.js b/sdk/web-pubsub/web-pubsub/karma.conf.js index c40baab283fe..e578dad9fcaa 100644 --- a/sdk/web-pubsub/web-pubsub/karma.conf.js +++ b/sdk/web-pubsub/web-pubsub/karma.conf.js @@ -6,7 +6,7 @@ const { isPlaybackMode, isSoftRecordMode, isRecordMode -} = require("@azure/test-utils-recorder"); +} = require("@azure-tools/test-recorder"); module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index ba2a9596b643..340e45d1afb6 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -83,7 +83,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^1.1.0", - "@azure/test-utils-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", diff --git a/sdk/web-pubsub/web-pubsub/test/groups.spec.ts b/sdk/web-pubsub/web-pubsub/test/groups.spec.ts index a9f62745911a..d2f3260de0d3 100644 --- a/sdk/web-pubsub/web-pubsub/test/groups.spec.ts +++ b/sdk/web-pubsub/web-pubsub/test/groups.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /* eslint-disable no-invalid-this */ -import { env, Recorder, record } from "@azure/test-utils-recorder"; +import { env, Recorder, record } from "@azure-tools/test-recorder"; import { WebPubSubServiceClient, WebPubSubGroup } from "../src"; import { assert } from "chai"; import environmentSetup from "./testEnv"; diff --git a/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts b/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts index 5dac4db0c96c..98f46ed4aceb 100644 --- a/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts +++ b/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /* eslint-disable no-invalid-this */ -import { env, Recorder, record } from "@azure/test-utils-recorder"; +import { env, Recorder, record } from "@azure-tools/test-recorder"; import { WebPubSubServiceClient, AzureKeyCredential } from "../src"; import { assert } from "chai"; import environmentSetup from "./testEnv"; diff --git a/sdk/web-pubsub/web-pubsub/test/testEnv.ts b/sdk/web-pubsub/web-pubsub/test/testEnv.ts index a3af95a79a61..75f7b9936570 100644 --- a/sdk/web-pubsub/web-pubsub/test/testEnv.ts +++ b/sdk/web-pubsub/web-pubsub/test/testEnv.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { RecorderEnvironmentSetup } from "@azure-tools/test-recorder"; const environmentSetup: RecorderEnvironmentSetup = { replaceableVariables: {