diff --git a/sdk/alertprocessingrules/arm-alertprocessingrules/package.json b/sdk/alertprocessingrules/arm-alertprocessingrules/package.json index 13eb2534afc7..2c3beebaef11 100644 --- a/sdk/alertprocessingrules/arm-alertprocessingrules/package.json +++ b/sdk/alertprocessingrules/arm-alertprocessingrules/package.json @@ -143,7 +143,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/alertprocessingrules/arm-alertprocessingrules/vitest.esm.config.ts b/sdk/alertprocessingrules/arm-alertprocessingrules/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/alertprocessingrules/arm-alertprocessingrules/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/alertrulerecommendations/arm-alertrulerecommendations/package.json b/sdk/alertrulerecommendations/arm-alertrulerecommendations/package.json index b4beb2210ad5..38b0c0327895 100644 --- a/sdk/alertrulerecommendations/arm-alertrulerecommendations/package.json +++ b/sdk/alertrulerecommendations/arm-alertrulerecommendations/package.json @@ -143,7 +143,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/alertrulerecommendations/arm-alertrulerecommendations/vitest.esm.config.ts b/sdk/alertrulerecommendations/arm-alertrulerecommendations/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/alertrulerecommendations/arm-alertrulerecommendations/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/alertsmanagement/arm-alertsmanagement/package.json b/sdk/alertsmanagement/arm-alertsmanagement/package.json index bcc4f68e292c..392258878dee 100644 --- a/sdk/alertsmanagement/arm-alertsmanagement/package.json +++ b/sdk/alertsmanagement/arm-alertsmanagement/package.json @@ -157,7 +157,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/alertsmanagement/arm-alertsmanagement/vitest.esm.config.ts b/sdk/alertsmanagement/arm-alertsmanagement/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/alertsmanagement/arm-alertsmanagement/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/analysisservices/arm-analysisservices/vitest.browser.config.ts b/sdk/analysisservices/arm-analysisservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/analysisservices/arm-analysisservices/vitest.browser.config.ts +++ b/sdk/analysisservices/arm-analysisservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/apimanagement/arm-apimanagement/vitest.browser.config.ts b/sdk/apimanagement/arm-apimanagement/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/apimanagement/arm-apimanagement/vitest.browser.config.ts +++ b/sdk/apimanagement/arm-apimanagement/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/appconfiguration/arm-appconfiguration/package.json b/sdk/appconfiguration/arm-appconfiguration/package.json index c3e79c89f402..e457c6a82006 100644 --- a/sdk/appconfiguration/arm-appconfiguration/package.json +++ b/sdk/appconfiguration/arm-appconfiguration/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/appconfiguration/arm-appconfiguration/vitest.esm.config.ts b/sdk/appconfiguration/arm-appconfiguration/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/appconfiguration/arm-appconfiguration/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/appcontainers/arm-appcontainers/package.json b/sdk/appcontainers/arm-appcontainers/package.json index 9a3a9cf7db8a..bac1b687bc8f 100644 --- a/sdk/appcontainers/arm-appcontainers/package.json +++ b/sdk/appcontainers/arm-appcontainers/package.json @@ -74,7 +74,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "echo skipped", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "sideEffects": false, diff --git a/sdk/appcontainers/arm-appcontainers/vitest.browser.config.ts b/sdk/appcontainers/arm-appcontainers/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/appcontainers/arm-appcontainers/vitest.browser.config.ts +++ b/sdk/appcontainers/arm-appcontainers/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/appcontainers/arm-appcontainers/vitest.esm.config.ts b/sdk/appcontainers/arm-appcontainers/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/appcontainers/arm-appcontainers/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/appnetwork/arm-appnetwork/package.json b/sdk/appnetwork/arm-appnetwork/package.json index 2a64336e82b5..bb78dc728dfa 100644 --- a/sdk/appnetwork/arm-appnetwork/package.json +++ b/sdk/appnetwork/arm-appnetwork/package.json @@ -205,7 +205,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/appnetwork/arm-appnetwork/vitest.esm.config.ts b/sdk/appnetwork/arm-appnetwork/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/appnetwork/arm-appnetwork/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/appservice/arm-appservice/vitest.browser.config.ts b/sdk/appservice/arm-appservice/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/appservice/arm-appservice/vitest.browser.config.ts +++ b/sdk/appservice/arm-appservice/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/appservice/arm-appservice/vitest.esm.config.ts b/sdk/appservice/arm-appservice/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/appservice/arm-appservice/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/artifactsigning/arm-artifactsigning/package.json b/sdk/artifactsigning/arm-artifactsigning/package.json index 58d01a986a1f..f0498c0ede10 100644 --- a/sdk/artifactsigning/arm-artifactsigning/package.json +++ b/sdk/artifactsigning/arm-artifactsigning/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/artifactsigning/arm-artifactsigning/vitest.esm.config.ts b/sdk/artifactsigning/arm-artifactsigning/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/artifactsigning/arm-artifactsigning/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/astro/arm-astro/vitest.browser.config.ts b/sdk/astro/arm-astro/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/astro/arm-astro/vitest.browser.config.ts +++ b/sdk/astro/arm-astro/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/attestation/arm-attestation/vitest.browser.config.ts b/sdk/attestation/arm-attestation/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/attestation/arm-attestation/vitest.browser.config.ts +++ b/sdk/attestation/arm-attestation/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/automanage/arm-automanage/vitest.browser.config.ts b/sdk/automanage/arm-automanage/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/automanage/arm-automanage/vitest.browser.config.ts +++ b/sdk/automanage/arm-automanage/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/automation/arm-automation/vitest.browser.config.ts b/sdk/automation/arm-automation/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/automation/arm-automation/vitest.browser.config.ts +++ b/sdk/automation/arm-automation/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/azureadexternalidentities/arm-azureadexternalidentities/vitest.browser.config.ts b/sdk/azureadexternalidentities/arm-azureadexternalidentities/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/azureadexternalidentities/arm-azureadexternalidentities/vitest.browser.config.ts +++ b/sdk/azureadexternalidentities/arm-azureadexternalidentities/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/azurestack/arm-azurestack/vitest.browser.config.ts b/sdk/azurestack/arm-azurestack/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/azurestack/arm-azurestack/vitest.browser.config.ts +++ b/sdk/azurestack/arm-azurestack/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/azurestackhci/arm-azurestackhci/package.json b/sdk/azurestackhci/arm-azurestackhci/package.json index aed70161f40d..527166de6221 100644 --- a/sdk/azurestackhci/arm-azurestackhci/package.json +++ b/sdk/azurestackhci/arm-azurestackhci/package.json @@ -485,7 +485,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/azurestackhci/arm-azurestackhci/vitest.esm.config.ts b/sdk/azurestackhci/arm-azurestackhci/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/azurestackhci/arm-azurestackhci/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/baremetalinfrastructure/arm-baremetalinfrastructure/vitest.browser.config.ts b/sdk/baremetalinfrastructure/arm-baremetalinfrastructure/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/baremetalinfrastructure/arm-baremetalinfrastructure/vitest.browser.config.ts +++ b/sdk/baremetalinfrastructure/arm-baremetalinfrastructure/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/batch/arm-batch/package.json b/sdk/batch/arm-batch/package.json index fa50d2b07eca..7d4ed03ea1df 100644 --- a/sdk/batch/arm-batch/package.json +++ b/sdk/batch/arm-batch/package.json @@ -263,7 +263,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/batch/arm-batch/vitest.esm.config.ts b/sdk/batch/arm-batch/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/batch/arm-batch/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/billing/arm-billing/vitest.browser.config.ts b/sdk/billing/arm-billing/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/billing/arm-billing/vitest.browser.config.ts +++ b/sdk/billing/arm-billing/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/billingbenefits/arm-billingbenefits/vitest.browser.config.ts b/sdk/billingbenefits/arm-billingbenefits/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/billingbenefits/arm-billingbenefits/vitest.browser.config.ts +++ b/sdk/billingbenefits/arm-billingbenefits/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/botservice/arm-botservice/vitest.browser.config.ts b/sdk/botservice/arm-botservice/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/botservice/arm-botservice/vitest.browser.config.ts +++ b/sdk/botservice/arm-botservice/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/cdn/arm-cdn/vitest.browser.config.ts b/sdk/cdn/arm-cdn/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/cdn/arm-cdn/vitest.browser.config.ts +++ b/sdk/cdn/arm-cdn/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/certificateregistration/arm-certificateregistration/vitest.browser.config.ts b/sdk/certificateregistration/arm-certificateregistration/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/certificateregistration/arm-certificateregistration/vitest.browser.config.ts +++ b/sdk/certificateregistration/arm-certificateregistration/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/certificateregistration/arm-certificateregistration/vitest.esm.config.ts b/sdk/certificateregistration/arm-certificateregistration/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/certificateregistration/arm-certificateregistration/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/changeanalysis/arm-changeanalysis/vitest.browser.config.ts b/sdk/changeanalysis/arm-changeanalysis/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/changeanalysis/arm-changeanalysis/vitest.browser.config.ts +++ b/sdk/changeanalysis/arm-changeanalysis/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/changes/arm-changes/vitest.browser.config.ts b/sdk/changes/arm-changes/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/changes/arm-changes/vitest.browser.config.ts +++ b/sdk/changes/arm-changes/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/cognitiveservices/arm-cognitiveservices/package.json b/sdk/cognitiveservices/arm-cognitiveservices/package.json index 43a6ac70b9b6..c3ac101fabde 100644 --- a/sdk/cognitiveservices/arm-cognitiveservices/package.json +++ b/sdk/cognitiveservices/arm-cognitiveservices/package.json @@ -687,7 +687,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/commerce/arm-commerce/package.json b/sdk/commerce/arm-commerce/package.json index c5a93595e11f..86bfa6dd7ecd 100644 --- a/sdk/commerce/arm-commerce/package.json +++ b/sdk/commerce/arm-commerce/package.json @@ -161,7 +161,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/commerce/arm-commerce/vitest.esm.config.ts b/sdk/commerce/arm-commerce/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/commerce/arm-commerce/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/communication/arm-communication/package.json b/sdk/communication/arm-communication/package.json index e531a013dbb9..7233603c35ca 100644 --- a/sdk/communication/arm-communication/package.json +++ b/sdk/communication/arm-communication/package.json @@ -247,7 +247,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/communication/arm-communication/vitest.esm.config.ts b/sdk/communication/arm-communication/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/communication/arm-communication/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index e40c2447d7ac..f5df5c74f234 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -205,7 +205,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/compute/arm-compute/vitest.esm.config.ts b/sdk/compute/arm-compute/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/compute/arm-compute/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/compute/arm-computerecommender/package.json b/sdk/compute/arm-computerecommender/package.json index d33488f8ffee..326b722f7d17 100644 --- a/sdk/compute/arm-computerecommender/package.json +++ b/sdk/compute/arm-computerecommender/package.json @@ -87,7 +87,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/compute/arm-computerecommender/vitest.esm.config.ts b/sdk/compute/arm-computerecommender/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/compute/arm-computerecommender/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/computebulkactions/arm-computebulkactions/package.json b/sdk/computebulkactions/arm-computebulkactions/package.json index 93ee8f0d9c62..7add7c94ae0e 100644 --- a/sdk/computebulkactions/arm-computebulkactions/package.json +++ b/sdk/computebulkactions/arm-computebulkactions/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/computebulkactions/arm-computebulkactions/vitest.esm.config.ts b/sdk/computebulkactions/arm-computebulkactions/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/computebulkactions/arm-computebulkactions/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/computefleet/arm-computefleet/package.json b/sdk/computefleet/arm-computefleet/package.json index 9d805a8e6066..701cc7757899 100644 --- a/sdk/computefleet/arm-computefleet/package.json +++ b/sdk/computefleet/arm-computefleet/package.json @@ -89,7 +89,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/computefleet/arm-computefleet/vitest.esm.config.ts b/sdk/computefleet/arm-computefleet/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/computefleet/arm-computefleet/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/computelimit/arm-computelimit/package.json b/sdk/computelimit/arm-computelimit/package.json index cacbc4b45903..eb70bd556924 100644 --- a/sdk/computelimit/arm-computelimit/package.json +++ b/sdk/computelimit/arm-computelimit/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/computelimit/arm-computelimit/vitest.esm.config.ts b/sdk/computelimit/arm-computelimit/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/computelimit/arm-computelimit/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/confidentialledger/arm-confidentialledger/vitest.browser.config.ts b/sdk/confidentialledger/arm-confidentialledger/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/confidentialledger/arm-confidentialledger/vitest.browser.config.ts +++ b/sdk/confidentialledger/arm-confidentialledger/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/confluent/arm-confluent/package.json b/sdk/confluent/arm-confluent/package.json index 80c6d2663f49..b1e6b70570ad 100644 --- a/sdk/confluent/arm-confluent/package.json +++ b/sdk/confluent/arm-confluent/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/confluent/arm-confluent/vitest.esm.config.ts b/sdk/confluent/arm-confluent/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/confluent/arm-confluent/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/connectedcache/arm-connectedcache/vitest.browser.config.ts b/sdk/connectedcache/arm-connectedcache/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/connectedcache/arm-connectedcache/vitest.browser.config.ts +++ b/sdk/connectedcache/arm-connectedcache/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/connectedvmware/arm-connectedvmware/vitest.browser.config.ts b/sdk/connectedvmware/arm-connectedvmware/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/connectedvmware/arm-connectedvmware/vitest.browser.config.ts +++ b/sdk/connectedvmware/arm-connectedvmware/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/consumption/arm-consumption/vitest.browser.config.ts b/sdk/consumption/arm-consumption/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/consumption/arm-consumption/vitest.browser.config.ts +++ b/sdk/consumption/arm-consumption/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/containerinstance/arm-containerinstance/vitest.browser.config.ts b/sdk/containerinstance/arm-containerinstance/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/containerinstance/arm-containerinstance/vitest.browser.config.ts +++ b/sdk/containerinstance/arm-containerinstance/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/containerregistry/arm-containerregistry/package.json b/sdk/containerregistry/arm-containerregistry/package.json index 58262c153502..bc80cf91126f 100644 --- a/sdk/containerregistry/arm-containerregistry/package.json +++ b/sdk/containerregistry/arm-containerregistry/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/containerregistry/arm-containerregistry/vitest.esm.config.ts b/sdk/containerregistry/arm-containerregistry/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/containerregistry/arm-containerregistry/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/containerregistry/arm-containerregistrytasks/package.json b/sdk/containerregistry/arm-containerregistrytasks/package.json index e731473c0943..806fe51f359d 100644 --- a/sdk/containerregistry/arm-containerregistrytasks/package.json +++ b/sdk/containerregistry/arm-containerregistrytasks/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/containerregistry/arm-containerregistrytasks/vitest.esm.config.ts b/sdk/containerregistry/arm-containerregistrytasks/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/containerregistry/arm-containerregistrytasks/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index 5f9e3b5041b8..f0ab6630c6fd 100644 --- a/sdk/containerservice/arm-containerservice/package.json +++ b/sdk/containerservice/arm-containerservice/package.json @@ -415,7 +415,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/containerservice/arm-containerservicefleet/vitest.browser.config.ts b/sdk/containerservice/arm-containerservicefleet/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/containerservice/arm-containerservicefleet/vitest.browser.config.ts +++ b/sdk/containerservice/arm-containerservicefleet/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/containerservice/arm-containerservicesafeguards/package.json b/sdk/containerservice/arm-containerservicesafeguards/package.json index 898cda2930f7..9931311d05d4 100644 --- a/sdk/containerservice/arm-containerservicesafeguards/package.json +++ b/sdk/containerservice/arm-containerservicesafeguards/package.json @@ -89,7 +89,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/containerservice/arm-containerservicesafeguards/vitest.esm.config.ts b/sdk/containerservice/arm-containerservicesafeguards/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/containerservice/arm-containerservicesafeguards/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/cosmosdb/arm-cosmosdb/package.json b/sdk/cosmosdb/arm-cosmosdb/package.json index b54c83c362b8..8c5a881e3fd6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/package.json @@ -863,7 +863,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/cosmosdb/arm-cosmosdb/vitest.esm.config.ts b/sdk/cosmosdb/arm-cosmosdb/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/cosmosdb/arm-cosmosdb/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/cosmosforpostgresql/arm-cosmosdbforpostgresql/vitest.browser.config.ts b/sdk/cosmosforpostgresql/arm-cosmosdbforpostgresql/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/cosmosforpostgresql/arm-cosmosdbforpostgresql/vitest.browser.config.ts +++ b/sdk/cosmosforpostgresql/arm-cosmosdbforpostgresql/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/cost-management/arm-costmanagement/vitest.browser.config.ts b/sdk/cost-management/arm-costmanagement/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/cost-management/arm-costmanagement/vitest.browser.config.ts +++ b/sdk/cost-management/arm-costmanagement/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/customer-insights/arm-customerinsights/vitest.browser.config.ts b/sdk/customer-insights/arm-customerinsights/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/customer-insights/arm-customerinsights/vitest.browser.config.ts +++ b/sdk/customer-insights/arm-customerinsights/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/dashboard/arm-dashboard/package.json b/sdk/dashboard/arm-dashboard/package.json index 07844e5ef10a..313dfd771385 100644 --- a/sdk/dashboard/arm-dashboard/package.json +++ b/sdk/dashboard/arm-dashboard/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/dashboard/arm-dashboard/vitest.esm.config.ts b/sdk/dashboard/arm-dashboard/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/dashboard/arm-dashboard/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/databasewatcher/arm-databasewatcher/vitest.browser.config.ts b/sdk/databasewatcher/arm-databasewatcher/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/databasewatcher/arm-databasewatcher/vitest.browser.config.ts +++ b/sdk/databasewatcher/arm-databasewatcher/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/databoundaries/arm-databoundaries/vitest.browser.config.ts b/sdk/databoundaries/arm-databoundaries/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/databoundaries/arm-databoundaries/vitest.browser.config.ts +++ b/sdk/databoundaries/arm-databoundaries/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/databox/arm-databox/vitest.browser.config.ts b/sdk/databox/arm-databox/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/databox/arm-databox/vitest.browser.config.ts +++ b/sdk/databox/arm-databox/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/databoxedge/arm-databoxedge/vitest.browser.config.ts b/sdk/databoxedge/arm-databoxedge/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/databoxedge/arm-databoxedge/vitest.browser.config.ts +++ b/sdk/databoxedge/arm-databoxedge/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/databricks/arm-databricks/vitest.browser.config.ts b/sdk/databricks/arm-databricks/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/databricks/arm-databricks/vitest.browser.config.ts +++ b/sdk/databricks/arm-databricks/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/datacatalog/arm-datacatalog/vitest.browser.config.ts b/sdk/datacatalog/arm-datacatalog/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/datacatalog/arm-datacatalog/vitest.browser.config.ts +++ b/sdk/datacatalog/arm-datacatalog/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/datadog/arm-datadog/vitest.browser.config.ts b/sdk/datadog/arm-datadog/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/datadog/arm-datadog/vitest.browser.config.ts +++ b/sdk/datadog/arm-datadog/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index 288be15e5e0b..c80c92f12bf7 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -467,7 +467,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/datafactory/arm-datafactory/vitest.esm.config.ts b/sdk/datafactory/arm-datafactory/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/datafactory/arm-datafactory/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/datalake-analytics/arm-datalake-analytics/vitest.browser.config.ts b/sdk/datalake-analytics/arm-datalake-analytics/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/vitest.browser.config.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/datamigration/arm-datamigration/package.json b/sdk/datamigration/arm-datamigration/package.json index 779d128304d1..48a8a402f645 100644 --- a/sdk/datamigration/arm-datamigration/package.json +++ b/sdk/datamigration/arm-datamigration/package.json @@ -73,7 +73,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "echo skipped", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "sideEffects": false, diff --git a/sdk/datamigration/arm-datamigration/vitest.browser.config.ts b/sdk/datamigration/arm-datamigration/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/datamigration/arm-datamigration/vitest.browser.config.ts +++ b/sdk/datamigration/arm-datamigration/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/datamigration/arm-datamigration/vitest.esm.config.ts b/sdk/datamigration/arm-datamigration/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/datamigration/arm-datamigration/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/dataprotection/arm-dataprotection/package.json b/sdk/dataprotection/arm-dataprotection/package.json index d9b047601dfe..a370e6f1f3d4 100644 --- a/sdk/dataprotection/arm-dataprotection/package.json +++ b/sdk/dataprotection/arm-dataprotection/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/dataprotection/arm-dataprotection/vitest.esm.config.ts b/sdk/dataprotection/arm-dataprotection/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/dataprotection/arm-dataprotection/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/defendereasm/arm-defendereasm/vitest.browser.config.ts b/sdk/defendereasm/arm-defendereasm/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/defendereasm/arm-defendereasm/vitest.browser.config.ts +++ b/sdk/defendereasm/arm-defendereasm/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/dependencymap/arm-dependencymap/vitest.browser.config.ts b/sdk/dependencymap/arm-dependencymap/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/dependencymap/arm-dependencymap/vitest.browser.config.ts +++ b/sdk/dependencymap/arm-dependencymap/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/deploymentmanager/arm-deploymentmanager/vitest.browser.config.ts b/sdk/deploymentmanager/arm-deploymentmanager/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/deploymentmanager/arm-deploymentmanager/vitest.browser.config.ts +++ b/sdk/deploymentmanager/arm-deploymentmanager/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/desktopvirtualization/arm-desktopvirtualization/vitest.browser.config.ts b/sdk/desktopvirtualization/arm-desktopvirtualization/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/desktopvirtualization/arm-desktopvirtualization/vitest.browser.config.ts +++ b/sdk/desktopvirtualization/arm-desktopvirtualization/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/devcenter/arm-devcenter/vitest.browser.config.ts b/sdk/devcenter/arm-devcenter/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/devcenter/arm-devcenter/vitest.browser.config.ts +++ b/sdk/devcenter/arm-devcenter/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/devhub/arm-devhub/vitest.browser.config.ts b/sdk/devhub/arm-devhub/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/devhub/arm-devhub/vitest.browser.config.ts +++ b/sdk/devhub/arm-devhub/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json index 46403ef14f92..07b338b0dab2 100644 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json +++ b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json @@ -87,7 +87,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/vitest.esm.config.ts b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/deviceregistry/arm-deviceregistry/package.json b/sdk/deviceregistry/arm-deviceregistry/package.json index 6a06ad22dd15..038d3f3fd9d9 100644 --- a/sdk/deviceregistry/arm-deviceregistry/package.json +++ b/sdk/deviceregistry/arm-deviceregistry/package.json @@ -87,7 +87,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/deviceregistry/arm-deviceregistry/vitest.browser.config.ts b/sdk/deviceregistry/arm-deviceregistry/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/deviceregistry/arm-deviceregistry/vitest.browser.config.ts +++ b/sdk/deviceregistry/arm-deviceregistry/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/deviceregistry/arm-deviceregistry/vitest.esm.config.ts b/sdk/deviceregistry/arm-deviceregistry/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/deviceregistry/arm-deviceregistry/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/deviceupdate/arm-deviceupdate/vitest.browser.config.ts b/sdk/deviceupdate/arm-deviceupdate/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/deviceupdate/arm-deviceupdate/vitest.browser.config.ts +++ b/sdk/deviceupdate/arm-deviceupdate/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/devopsinfrastructure/arm-devopsinfrastructure/vitest.browser.config.ts b/sdk/devopsinfrastructure/arm-devopsinfrastructure/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/devopsinfrastructure/arm-devopsinfrastructure/vitest.browser.config.ts +++ b/sdk/devopsinfrastructure/arm-devopsinfrastructure/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/devspaces/arm-devspaces/vitest.browser.config.ts b/sdk/devspaces/arm-devspaces/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/devspaces/arm-devspaces/vitest.browser.config.ts +++ b/sdk/devspaces/arm-devspaces/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/devtestlabs/arm-devtestlabs/vitest.browser.config.ts b/sdk/devtestlabs/arm-devtestlabs/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/devtestlabs/arm-devtestlabs/vitest.browser.config.ts +++ b/sdk/devtestlabs/arm-devtestlabs/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/digitaltwins/arm-digitaltwins/vitest.browser.config.ts b/sdk/digitaltwins/arm-digitaltwins/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/digitaltwins/arm-digitaltwins/vitest.browser.config.ts +++ b/sdk/digitaltwins/arm-digitaltwins/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/disconnectedoperations/arm-disconnectedoperations/package.json b/sdk/disconnectedoperations/arm-disconnectedoperations/package.json index c3bce6c17208..418c23e9f7b3 100644 --- a/sdk/disconnectedoperations/arm-disconnectedoperations/package.json +++ b/sdk/disconnectedoperations/arm-disconnectedoperations/package.json @@ -86,7 +86,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/disconnectedoperations/arm-disconnectedoperations/vitest.esm.config.ts b/sdk/disconnectedoperations/arm-disconnectedoperations/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/disconnectedoperations/arm-disconnectedoperations/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/discovery/arm-discovery/package.json b/sdk/discovery/arm-discovery/package.json index 79cd73affebc..52495f08d499 100644 --- a/sdk/discovery/arm-discovery/package.json +++ b/sdk/discovery/arm-discovery/package.json @@ -331,7 +331,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/discovery/arm-discovery/vitest.browser.config.ts b/sdk/discovery/arm-discovery/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/discovery/arm-discovery/vitest.browser.config.ts +++ b/sdk/discovery/arm-discovery/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/discovery/arm-discovery/vitest.esm.config.ts b/sdk/discovery/arm-discovery/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/discovery/arm-discovery/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/dns/arm-dns/vitest.browser.config.ts b/sdk/dns/arm-dns/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/dns/arm-dns/vitest.browser.config.ts +++ b/sdk/dns/arm-dns/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/dnsresolver/arm-dnsresolver/vitest.browser.config.ts b/sdk/dnsresolver/arm-dnsresolver/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/dnsresolver/arm-dnsresolver/vitest.browser.config.ts +++ b/sdk/dnsresolver/arm-dnsresolver/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/dnsresolver/arm-dnsresolver/vitest.esm.config.ts b/sdk/dnsresolver/arm-dnsresolver/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/dnsresolver/arm-dnsresolver/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/domainregistration/arm-domainregistration/package.json b/sdk/domainregistration/arm-domainregistration/package.json index 8dc65f7b9cdd..e602e15694fc 100644 --- a/sdk/domainregistration/arm-domainregistration/package.json +++ b/sdk/domainregistration/arm-domainregistration/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/domainregistration/arm-domainregistration/vitest.esm.config.ts b/sdk/domainregistration/arm-domainregistration/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/domainregistration/arm-domainregistration/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/domainservices/arm-domainservices/vitest.browser.config.ts b/sdk/domainservices/arm-domainservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/domainservices/arm-domainservices/vitest.browser.config.ts +++ b/sdk/domainservices/arm-domainservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/durabletask/arm-durabletask/package.json b/sdk/durabletask/arm-durabletask/package.json index 3704c6673fc3..6cbf144b8686 100644 --- a/sdk/durabletask/arm-durabletask/package.json +++ b/sdk/durabletask/arm-durabletask/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/durabletask/arm-durabletask/vitest.esm.config.ts b/sdk/durabletask/arm-durabletask/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/durabletask/arm-durabletask/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/dynatrace/arm-dynatrace/vitest.browser.config.ts b/sdk/dynatrace/arm-dynatrace/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/dynatrace/arm-dynatrace/vitest.browser.config.ts +++ b/sdk/dynatrace/arm-dynatrace/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/edgeactions/arm-edgeactions/package.json b/sdk/edgeactions/arm-edgeactions/package.json index 52d59a0b6cf8..d773fe80e5fb 100644 --- a/sdk/edgeactions/arm-edgeactions/package.json +++ b/sdk/edgeactions/arm-edgeactions/package.json @@ -87,7 +87,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/edgezones/arm-edgezones/vitest.browser.config.ts b/sdk/edgezones/arm-edgezones/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/edgezones/arm-edgezones/vitest.browser.config.ts +++ b/sdk/edgezones/arm-edgezones/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/education/arm-education/vitest.browser.config.ts b/sdk/education/arm-education/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/education/arm-education/vitest.browser.config.ts +++ b/sdk/education/arm-education/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/elastic/arm-elastic/vitest.browser.config.ts b/sdk/elastic/arm-elastic/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/elastic/arm-elastic/vitest.browser.config.ts +++ b/sdk/elastic/arm-elastic/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/elastic/arm-elastic/vitest.esm.config.ts b/sdk/elastic/arm-elastic/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/elastic/arm-elastic/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/elasticsans/arm-elasticsan/package.json b/sdk/elasticsans/arm-elasticsan/package.json index 15d1c1b01a98..4f46dbb84309 100644 --- a/sdk/elasticsans/arm-elasticsan/package.json +++ b/sdk/elasticsans/arm-elasticsan/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/elasticsans/arm-elasticsan/vitest.esm.config.ts b/sdk/elasticsans/arm-elasticsan/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/elasticsans/arm-elasticsan/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/eventgrid/arm-eventgrid/package.json b/sdk/eventgrid/arm-eventgrid/package.json index e2f9b3816422..8354c6bad6e9 100644 --- a/sdk/eventgrid/arm-eventgrid/package.json +++ b/sdk/eventgrid/arm-eventgrid/package.json @@ -569,7 +569,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/eventgrid/arm-eventgrid/vitest.browser.config.ts b/sdk/eventgrid/arm-eventgrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/eventgrid/arm-eventgrid/vitest.browser.config.ts +++ b/sdk/eventgrid/arm-eventgrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/eventgrid/arm-eventgrid/vitest.esm.config.ts b/sdk/eventgrid/arm-eventgrid/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/eventgrid/arm-eventgrid/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/eventhub/arm-eventhub/vitest.browser.config.ts b/sdk/eventhub/arm-eventhub/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/eventhub/arm-eventhub/vitest.browser.config.ts +++ b/sdk/eventhub/arm-eventhub/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/extendedlocation/arm-extendedlocation/vitest.browser.config.ts b/sdk/extendedlocation/arm-extendedlocation/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/extendedlocation/arm-extendedlocation/vitest.browser.config.ts +++ b/sdk/extendedlocation/arm-extendedlocation/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/fabric/arm-fabric/vitest.browser.config.ts b/sdk/fabric/arm-fabric/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/fabric/arm-fabric/vitest.browser.config.ts +++ b/sdk/fabric/arm-fabric/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/features/arm-features/vitest.browser.config.ts b/sdk/features/arm-features/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/features/arm-features/vitest.browser.config.ts +++ b/sdk/features/arm-features/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/fileshares/arm-fileshares/package.json b/sdk/fileshares/arm-fileshares/package.json index 3a5125ae1b97..03e2b9fe1880 100644 --- a/sdk/fileshares/arm-fileshares/package.json +++ b/sdk/fileshares/arm-fileshares/package.json @@ -218,7 +218,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/fileshares/arm-fileshares/vitest.esm.config.ts b/sdk/fileshares/arm-fileshares/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/fileshares/arm-fileshares/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/fluidrelay/arm-fluidrelay/vitest.browser.config.ts b/sdk/fluidrelay/arm-fluidrelay/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/fluidrelay/arm-fluidrelay/vitest.browser.config.ts +++ b/sdk/fluidrelay/arm-fluidrelay/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/frontdoor/arm-frontdoor/vitest.browser.config.ts b/sdk/frontdoor/arm-frontdoor/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/frontdoor/arm-frontdoor/vitest.browser.config.ts +++ b/sdk/frontdoor/arm-frontdoor/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/graphservices/arm-graphservices/vitest.browser.config.ts b/sdk/graphservices/arm-graphservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/graphservices/arm-graphservices/vitest.browser.config.ts +++ b/sdk/graphservices/arm-graphservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/guestconfiguration/arm-guestconfiguration/vitest.browser.config.ts b/sdk/guestconfiguration/arm-guestconfiguration/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/guestconfiguration/arm-guestconfiguration/vitest.browser.config.ts +++ b/sdk/guestconfiguration/arm-guestconfiguration/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/hanaonazure/arm-hanaonazure/vitest.browser.config.ts b/sdk/hanaonazure/arm-hanaonazure/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/hanaonazure/arm-hanaonazure/vitest.browser.config.ts +++ b/sdk/hanaonazure/arm-hanaonazure/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/hdinsight/arm-hdinsight/package.json b/sdk/hdinsight/arm-hdinsight/package.json index 56617b7e3aca..e08a3ad11b85 100644 --- a/sdk/hdinsight/arm-hdinsight/package.json +++ b/sdk/hdinsight/arm-hdinsight/package.json @@ -285,7 +285,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/hdinsight/arm-hdinsight/vitest.esm.config.ts b/sdk/hdinsight/arm-hdinsight/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/hdinsight/arm-hdinsight/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/healthbot/arm-healthbot/package.json b/sdk/healthbot/arm-healthbot/package.json index 4c4910e5608b..dbd2418d1d3f 100644 --- a/sdk/healthbot/arm-healthbot/package.json +++ b/sdk/healthbot/arm-healthbot/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/healthbot/arm-healthbot/vitest.esm.config.ts b/sdk/healthbot/arm-healthbot/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/healthbot/arm-healthbot/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/healthcareapis/arm-healthcareapis/vitest.browser.config.ts b/sdk/healthcareapis/arm-healthcareapis/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/healthcareapis/arm-healthcareapis/vitest.browser.config.ts +++ b/sdk/healthcareapis/arm-healthcareapis/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/healthdataaiservices/arm-healthdataaiservices/vitest.browser.config.ts b/sdk/healthdataaiservices/arm-healthdataaiservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/healthdataaiservices/arm-healthdataaiservices/vitest.browser.config.ts +++ b/sdk/healthdataaiservices/arm-healthdataaiservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/horizondb/arm-horizondb/package.json b/sdk/horizondb/arm-horizondb/package.json index faa4e1c56d1d..d1d291e476b6 100644 --- a/sdk/horizondb/arm-horizondb/package.json +++ b/sdk/horizondb/arm-horizondb/package.json @@ -243,7 +243,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/horizondb/arm-horizondb/vitest.esm.config.ts b/sdk/horizondb/arm-horizondb/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/horizondb/arm-horizondb/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/hybridcompute/arm-hybridcompute/vitest.browser.config.ts b/sdk/hybridcompute/arm-hybridcompute/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/hybridcompute/arm-hybridcompute/vitest.browser.config.ts +++ b/sdk/hybridcompute/arm-hybridcompute/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/hybridcontainerservice/arm-hybridcontainerservice/vitest.browser.config.ts b/sdk/hybridcontainerservice/arm-hybridcontainerservice/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/hybridcontainerservice/arm-hybridcontainerservice/vitest.browser.config.ts +++ b/sdk/hybridcontainerservice/arm-hybridcontainerservice/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/hybridkubernetes/arm-hybridkubernetes/vitest.browser.config.ts b/sdk/hybridkubernetes/arm-hybridkubernetes/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/hybridkubernetes/arm-hybridkubernetes/vitest.browser.config.ts +++ b/sdk/hybridkubernetes/arm-hybridkubernetes/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/hybridnetwork/arm-hybridnetwork/vitest.browser.config.ts b/sdk/hybridnetwork/arm-hybridnetwork/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/hybridnetwork/arm-hybridnetwork/vitest.browser.config.ts +++ b/sdk/hybridnetwork/arm-hybridnetwork/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/imagebuilder/arm-imagebuilder/vitest.browser.config.ts b/sdk/imagebuilder/arm-imagebuilder/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/imagebuilder/arm-imagebuilder/vitest.browser.config.ts +++ b/sdk/imagebuilder/arm-imagebuilder/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/informatica/arm-informaticadatamanagement/vitest.browser.config.ts b/sdk/informatica/arm-informaticadatamanagement/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/informatica/arm-informaticadatamanagement/vitest.browser.config.ts +++ b/sdk/informatica/arm-informaticadatamanagement/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/iotcentral/arm-iotcentral/vitest.browser.config.ts b/sdk/iotcentral/arm-iotcentral/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/iotcentral/arm-iotcentral/vitest.browser.config.ts +++ b/sdk/iotcentral/arm-iotcentral/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/package.json b/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/package.json index 9e2640e9f967..e88ba71b6252 100644 --- a/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/package.json +++ b/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/vitest.esm.config.ts b/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/iotfirmwaredefense/arm-iotfirmwaredefense/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/iothub/arm-iothub/vitest.esm.config.ts b/sdk/iothub/arm-iothub/vitest.esm.config.ts deleted file mode 100644 index b630f7e53183..000000000000 --- a/sdk/iothub/arm-iothub/vitest.esm.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/iotoperations/arm-iotoperations/vitest.browser.config.ts b/sdk/iotoperations/arm-iotoperations/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/iotoperations/arm-iotoperations/vitest.browser.config.ts +++ b/sdk/iotoperations/arm-iotoperations/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/keyvault/arm-keyvault/package.json b/sdk/keyvault/arm-keyvault/package.json index d43bddff9a34..ad448decd13c 100644 --- a/sdk/keyvault/arm-keyvault/package.json +++ b/sdk/keyvault/arm-keyvault/package.json @@ -289,7 +289,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/keyvault/arm-keyvault/vitest.esm.config.ts b/sdk/keyvault/arm-keyvault/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/keyvault/arm-keyvault/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/package.json b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/package.json index 968c2dad927c..d9b9fceaf7fa 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/package.json +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/package.json @@ -163,7 +163,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/vitest.esm.config.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensions/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/package.json b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/package.json index 6e5f806271f7..80974ad78d96 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/package.json +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/package.json @@ -147,7 +147,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/vitest.esm.config.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-extensiontypes/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/package.json b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/package.json index 0ebcabfbb44b..b31cf3b704a2 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/package.json +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/package.json @@ -163,7 +163,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/vitest.esm.config.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-fluxconfigurations/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/package.json b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/package.json index c5dd6736d71e..e0e40ec07570 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/package.json +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/package.json @@ -177,7 +177,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/vitest.esm.config.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration-privatelinkscopes/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/vitest.browser.config.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/vitest.browser.config.ts +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/kubernetesruntime/arm-containerorchestratorruntime/vitest.browser.config.ts b/sdk/kubernetesruntime/arm-containerorchestratorruntime/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/kubernetesruntime/arm-containerorchestratorruntime/vitest.browser.config.ts +++ b/sdk/kubernetesruntime/arm-containerorchestratorruntime/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/kusto/arm-kusto/vitest.browser.config.ts b/sdk/kusto/arm-kusto/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/kusto/arm-kusto/vitest.browser.config.ts +++ b/sdk/kusto/arm-kusto/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/labservices/arm-labservices/vitest.browser.config.ts b/sdk/labservices/arm-labservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/labservices/arm-labservices/vitest.browser.config.ts +++ b/sdk/labservices/arm-labservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/largeinstance/arm-largeinstance/vitest.browser.config.ts b/sdk/largeinstance/arm-largeinstance/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/largeinstance/arm-largeinstance/vitest.browser.config.ts +++ b/sdk/largeinstance/arm-largeinstance/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/liftrqumulo/arm-qumulo/vitest.browser.config.ts b/sdk/liftrqumulo/arm-qumulo/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/liftrqumulo/arm-qumulo/vitest.browser.config.ts +++ b/sdk/liftrqumulo/arm-qumulo/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/links/arm-links/vitest.browser.config.ts b/sdk/links/arm-links/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/links/arm-links/vitest.browser.config.ts +++ b/sdk/links/arm-links/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/loadtesting/arm-loadtesting/vitest.browser.config.ts b/sdk/loadtesting/arm-loadtesting/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/loadtesting/arm-loadtesting/vitest.browser.config.ts +++ b/sdk/loadtesting/arm-loadtesting/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/locks/arm-locks/vitest.browser.config.ts b/sdk/locks/arm-locks/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/locks/arm-locks/vitest.browser.config.ts +++ b/sdk/locks/arm-locks/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/logic/arm-logic/vitest.browser.config.ts b/sdk/logic/arm-logic/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/logic/arm-logic/vitest.browser.config.ts +++ b/sdk/logic/arm-logic/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/machinelearning/arm-commitmentplans/vitest.browser.config.ts b/sdk/machinelearning/arm-commitmentplans/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/machinelearning/arm-commitmentplans/vitest.browser.config.ts +++ b/sdk/machinelearning/arm-commitmentplans/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/machinelearning/arm-webservices/vitest.browser.config.ts b/sdk/machinelearning/arm-webservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/machinelearning/arm-webservices/vitest.browser.config.ts +++ b/sdk/machinelearning/arm-webservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/machinelearning/arm-workspaces/vitest.browser.config.ts b/sdk/machinelearning/arm-workspaces/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/machinelearning/arm-workspaces/vitest.browser.config.ts +++ b/sdk/machinelearning/arm-workspaces/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/vitest.browser.config.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/vitest.browser.config.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/vitest.browser.config.ts b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/vitest.browser.config.ts +++ b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/maintenance/arm-maintenance/vitest.browser.config.ts b/sdk/maintenance/arm-maintenance/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/maintenance/arm-maintenance/vitest.browser.config.ts +++ b/sdk/maintenance/arm-maintenance/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/managedapplications/arm-managedapplications/vitest.browser.config.ts b/sdk/managedapplications/arm-managedapplications/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/managedapplications/arm-managedapplications/vitest.browser.config.ts +++ b/sdk/managedapplications/arm-managedapplications/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/managednetworkfabric/arm-managednetworkfabric/vitest.browser.config.ts b/sdk/managednetworkfabric/arm-managednetworkfabric/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/managednetworkfabric/arm-managednetworkfabric/vitest.browser.config.ts +++ b/sdk/managednetworkfabric/arm-managednetworkfabric/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/managedops/arm-managedops/package.json b/sdk/managedops/arm-managedops/package.json index 0fc2b53251ca..2663b63c83b4 100644 --- a/sdk/managedops/arm-managedops/package.json +++ b/sdk/managedops/arm-managedops/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/managedops/arm-managedops/vitest.esm.config.ts b/sdk/managedops/arm-managedops/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/managedops/arm-managedops/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/managementgroups/arm-managementgroups/vitest.browser.config.ts b/sdk/managementgroups/arm-managementgroups/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/managementgroups/arm-managementgroups/vitest.browser.config.ts +++ b/sdk/managementgroups/arm-managementgroups/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/managementpartner/arm-managementpartner/vitest.browser.config.ts b/sdk/managementpartner/arm-managementpartner/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/managementpartner/arm-managementpartner/vitest.browser.config.ts +++ b/sdk/managementpartner/arm-managementpartner/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/maps/arm-maps/package.json b/sdk/maps/arm-maps/package.json index fd725d7aa80f..a07e97deb469 100644 --- a/sdk/maps/arm-maps/package.json +++ b/sdk/maps/arm-maps/package.json @@ -233,7 +233,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/maps/arm-maps/vitest.browser.config.ts b/sdk/maps/arm-maps/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/maps/arm-maps/vitest.browser.config.ts +++ b/sdk/maps/arm-maps/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/maps/arm-maps/vitest.esm.config.ts b/sdk/maps/arm-maps/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/maps/arm-maps/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/mariadb/arm-mariadb/vitest.browser.config.ts b/sdk/mariadb/arm-mariadb/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/mariadb/arm-mariadb/vitest.browser.config.ts +++ b/sdk/mariadb/arm-mariadb/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/marketplace/arm-marketplace/package.json b/sdk/marketplace/arm-marketplace/package.json index ce598b2efa0b..1f0971f82493 100644 --- a/sdk/marketplace/arm-marketplace/package.json +++ b/sdk/marketplace/arm-marketplace/package.json @@ -189,7 +189,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/marketplace/arm-marketplace/vitest.esm.config.ts b/sdk/marketplace/arm-marketplace/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/marketplace/arm-marketplace/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/marketplaceordering/arm-marketplaceordering/vitest.browser.config.ts b/sdk/marketplaceordering/arm-marketplaceordering/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/marketplaceordering/arm-marketplaceordering/vitest.browser.config.ts +++ b/sdk/marketplaceordering/arm-marketplaceordering/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/migrate/arm-migrate/vitest.browser.config.ts b/sdk/migrate/arm-migrate/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/migrate/arm-migrate/vitest.browser.config.ts +++ b/sdk/migrate/arm-migrate/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/migrate/arm-migrationassessment/vitest.browser.config.ts b/sdk/migrate/arm-migrationassessment/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/migrate/arm-migrationassessment/vitest.browser.config.ts +++ b/sdk/migrate/arm-migrationassessment/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/migrationdiscovery/arm-migrationdiscoverysap/vitest.browser.config.ts b/sdk/migrationdiscovery/arm-migrationdiscoverysap/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/migrationdiscovery/arm-migrationdiscoverysap/vitest.browser.config.ts +++ b/sdk/migrationdiscovery/arm-migrationdiscoverysap/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/mongocluster/arm-mongocluster/package.json b/sdk/mongocluster/arm-mongocluster/package.json index 06392e4971c7..1ccdc8976583 100644 --- a/sdk/mongocluster/arm-mongocluster/package.json +++ b/sdk/mongocluster/arm-mongocluster/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/mongocluster/arm-mongocluster/vitest.esm.config.ts b/sdk/mongocluster/arm-mongocluster/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/mongocluster/arm-mongocluster/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/monitor/arm-monitor/vitest.browser.config.ts b/sdk/monitor/arm-monitor/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/monitor/arm-monitor/vitest.browser.config.ts +++ b/sdk/monitor/arm-monitor/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/monitor/arm-monitorslis/package.json b/sdk/monitor/arm-monitorslis/package.json index 3d20afd7d3ff..1952dce9dd00 100644 --- a/sdk/monitor/arm-monitorslis/package.json +++ b/sdk/monitor/arm-monitorslis/package.json @@ -143,7 +143,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/monitor/arm-monitorslis/vitest.esm.config.ts b/sdk/monitor/arm-monitorslis/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/monitor/arm-monitorslis/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/mysql/arm-mysql-flexible/vitest.browser.config.ts b/sdk/mysql/arm-mysql-flexible/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/mysql/arm-mysql-flexible/vitest.browser.config.ts +++ b/sdk/mysql/arm-mysql-flexible/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/mysql/arm-mysql/vitest.browser.config.ts b/sdk/mysql/arm-mysql/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/mysql/arm-mysql/vitest.browser.config.ts +++ b/sdk/mysql/arm-mysql/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/netapp/arm-netapp/package.json b/sdk/netapp/arm-netapp/package.json index c1f77381f645..e951e8f52f0b 100644 --- a/sdk/netapp/arm-netapp/package.json +++ b/sdk/netapp/arm-netapp/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/netapp/arm-netapp/vitest.esm.config.ts b/sdk/netapp/arm-netapp/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/netapp/arm-netapp/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/network/arm-network-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/network/arm-network-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/network/arm-network-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/network/arm-network-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/network/arm-network/vitest.browser.config.ts b/sdk/network/arm-network/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/network/arm-network/vitest.browser.config.ts +++ b/sdk/network/arm-network/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/network/arm-network/vitest.esm.config.ts b/sdk/network/arm-network/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/network/arm-network/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/networkcloud/arm-networkcloud/vitest.browser.config.ts b/sdk/networkcloud/arm-networkcloud/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/networkcloud/arm-networkcloud/vitest.browser.config.ts +++ b/sdk/networkcloud/arm-networkcloud/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/networkcloud/arm-networkcloud/vitest.esm.config.ts b/sdk/networkcloud/arm-networkcloud/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/networkcloud/arm-networkcloud/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/networkfunction/arm-networkfunction/vitest.browser.config.ts b/sdk/networkfunction/arm-networkfunction/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/networkfunction/arm-networkfunction/vitest.browser.config.ts +++ b/sdk/networkfunction/arm-networkfunction/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/newrelicobservability/arm-newrelicobservability/vitest.browser.config.ts b/sdk/newrelicobservability/arm-newrelicobservability/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/newrelicobservability/arm-newrelicobservability/vitest.browser.config.ts +++ b/sdk/newrelicobservability/arm-newrelicobservability/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/newrelicobservability/arm-newrelicobservability/vitest.esm.config.ts b/sdk/newrelicobservability/arm-newrelicobservability/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/newrelicobservability/arm-newrelicobservability/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/nginx/arm-nginx/package.json b/sdk/nginx/arm-nginx/package.json index 33a9a33c27a6..479113edc3c8 100644 --- a/sdk/nginx/arm-nginx/package.json +++ b/sdk/nginx/arm-nginx/package.json @@ -87,7 +87,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/nginx/arm-nginx/vitest.browser.config.ts b/sdk/nginx/arm-nginx/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/nginx/arm-nginx/vitest.browser.config.ts +++ b/sdk/nginx/arm-nginx/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/nginx/arm-nginx/vitest.esm.config.ts b/sdk/nginx/arm-nginx/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/nginx/arm-nginx/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/notificationhubs/arm-notificationhubs/vitest.browser.config.ts b/sdk/notificationhubs/arm-notificationhubs/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/notificationhubs/arm-notificationhubs/vitest.browser.config.ts +++ b/sdk/notificationhubs/arm-notificationhubs/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/oep/arm-oep/vitest.browser.config.ts b/sdk/oep/arm-oep/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/oep/arm-oep/vitest.browser.config.ts +++ b/sdk/oep/arm-oep/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/operationsmanagement/arm-operations/vitest.browser.config.ts b/sdk/operationsmanagement/arm-operations/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/operationsmanagement/arm-operations/vitest.browser.config.ts +++ b/sdk/operationsmanagement/arm-operations/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/oracledatabase/arm-oracledatabase/package.json b/sdk/oracledatabase/arm-oracledatabase/package.json index b0929f7d1ec3..b5ebda82b83b 100644 --- a/sdk/oracledatabase/arm-oracledatabase/package.json +++ b/sdk/oracledatabase/arm-oracledatabase/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/oracledatabase/arm-oracledatabase/vitest.esm.config.ts b/sdk/oracledatabase/arm-oracledatabase/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/oracledatabase/arm-oracledatabase/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/orbital/arm-orbital/vitest.browser.config.ts b/sdk/orbital/arm-orbital/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/orbital/arm-orbital/vitest.browser.config.ts +++ b/sdk/orbital/arm-orbital/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.browser.config.ts b/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.browser.config.ts +++ b/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.esm.config.ts b/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/peering/arm-peering/package.json b/sdk/peering/arm-peering/package.json index 15af2ec000e6..d13b11660051 100644 --- a/sdk/peering/arm-peering/package.json +++ b/sdk/peering/arm-peering/package.json @@ -367,7 +367,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/peering/arm-peering/vitest.esm.config.ts b/sdk/peering/arm-peering/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/peering/arm-peering/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/playwright/arm-playwright/package.json b/sdk/playwright/arm-playwright/package.json index 286d2fb9f5f8..88217e7ac9ca 100644 --- a/sdk/playwright/arm-playwright/package.json +++ b/sdk/playwright/arm-playwright/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/policy/arm-policy/package.json b/sdk/policy/arm-policy/package.json index eb17a1ea9766..b31823a46e8a 100644 --- a/sdk/policy/arm-policy/package.json +++ b/sdk/policy/arm-policy/package.json @@ -85,7 +85,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/policy/arm-policy/vitest.esm.config.ts b/sdk/policy/arm-policy/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/policy/arm-policy/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/policyinsights/arm-policyinsights/vitest.browser.config.ts b/sdk/policyinsights/arm-policyinsights/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/policyinsights/arm-policyinsights/vitest.browser.config.ts +++ b/sdk/policyinsights/arm-policyinsights/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/portal/arm-portal/vitest.browser.config.ts b/sdk/portal/arm-portal/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/portal/arm-portal/vitest.browser.config.ts +++ b/sdk/portal/arm-portal/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/portalservices/arm-portalservicescopilot/vitest.browser.config.ts b/sdk/portalservices/arm-portalservicescopilot/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/portalservices/arm-portalservicescopilot/vitest.browser.config.ts +++ b/sdk/portalservices/arm-portalservicescopilot/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/postgresql/arm-postgresql-flexible/package.json b/sdk/postgresql/arm-postgresql-flexible/package.json index 5b44f0e387c5..92ad9ab57a10 100644 --- a/sdk/postgresql/arm-postgresql-flexible/package.json +++ b/sdk/postgresql/arm-postgresql-flexible/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/postgresql/arm-postgresql-flexible/vitest.esm.config.ts b/sdk/postgresql/arm-postgresql-flexible/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/postgresql/arm-postgresql-flexible/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/postgresql/arm-postgresql/vitest.browser.config.ts b/sdk/postgresql/arm-postgresql/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/postgresql/arm-postgresql/vitest.browser.config.ts +++ b/sdk/postgresql/arm-postgresql/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/powerbidedicated/arm-powerbidedicated/vitest.browser.config.ts b/sdk/powerbidedicated/arm-powerbidedicated/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/powerbidedicated/arm-powerbidedicated/vitest.browser.config.ts +++ b/sdk/powerbidedicated/arm-powerbidedicated/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/powerbiembedded/arm-powerbiembedded/vitest.browser.config.ts b/sdk/powerbiembedded/arm-powerbiembedded/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/powerbiembedded/arm-powerbiembedded/vitest.browser.config.ts +++ b/sdk/powerbiembedded/arm-powerbiembedded/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/previewalertrule/arm-previewalertrule/package.json b/sdk/previewalertrule/arm-previewalertrule/package.json index d671824faa08..77cd16362243 100644 --- a/sdk/previewalertrule/arm-previewalertrule/package.json +++ b/sdk/previewalertrule/arm-previewalertrule/package.json @@ -133,7 +133,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/previewalertrule/arm-previewalertrule/vitest.esm.config.ts b/sdk/previewalertrule/arm-previewalertrule/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/previewalertrule/arm-previewalertrule/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/privatedns/arm-privatedns/vitest.browser.config.ts b/sdk/privatedns/arm-privatedns/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/privatedns/arm-privatedns/vitest.browser.config.ts +++ b/sdk/privatedns/arm-privatedns/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/programmableconnectivity/arm-programmableconnectivity/vitest.browser.config.ts b/sdk/programmableconnectivity/arm-programmableconnectivity/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/programmableconnectivity/arm-programmableconnectivity/vitest.browser.config.ts +++ b/sdk/programmableconnectivity/arm-programmableconnectivity/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/prometheusrulegroups/arm-prometheusrulegroups/package.json b/sdk/prometheusrulegroups/arm-prometheusrulegroups/package.json index beda1fc27a6a..f7bc224d7c14 100644 --- a/sdk/prometheusrulegroups/arm-prometheusrulegroups/package.json +++ b/sdk/prometheusrulegroups/arm-prometheusrulegroups/package.json @@ -143,7 +143,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/prometheusrulegroups/arm-prometheusrulegroups/vitest.esm.config.ts b/sdk/prometheusrulegroups/arm-prometheusrulegroups/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/prometheusrulegroups/arm-prometheusrulegroups/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/providerhub/arm-providerhub/package.json b/sdk/providerhub/arm-providerhub/package.json index c61e3badd308..07de37e2dace 100644 --- a/sdk/providerhub/arm-providerhub/package.json +++ b/sdk/providerhub/arm-providerhub/package.json @@ -285,7 +285,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/providerhub/arm-providerhub/vitest.esm.config.ts b/sdk/providerhub/arm-providerhub/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/providerhub/arm-providerhub/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/purview/arm-purview/vitest.browser.config.ts b/sdk/purview/arm-purview/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/purview/arm-purview/vitest.browser.config.ts +++ b/sdk/purview/arm-purview/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/quantum/arm-quantum/vitest.browser.config.ts b/sdk/quantum/arm-quantum/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/quantum/arm-quantum/vitest.browser.config.ts +++ b/sdk/quantum/arm-quantum/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/quota/arm-quota/package.json b/sdk/quota/arm-quota/package.json index a5eecb41ade7..974dd370ac9c 100644 --- a/sdk/quota/arm-quota/package.json +++ b/sdk/quota/arm-quota/package.json @@ -87,7 +87,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/quota/arm-quota/vitest.esm.config.ts b/sdk/quota/arm-quota/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/quota/arm-quota/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/recoveryservices/arm-recoveryservices/package.json b/sdk/recoveryservices/arm-recoveryservices/package.json index e92cc857b7dd..c675b3a60f23 100644 --- a/sdk/recoveryservices/arm-recoveryservices/package.json +++ b/sdk/recoveryservices/arm-recoveryservices/package.json @@ -87,7 +87,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/recoveryservices/arm-recoveryservices/vitest.esm.config.ts b/sdk/recoveryservices/arm-recoveryservices/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/recoveryservices/arm-recoveryservices/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json index 0c060af5cd14..f21d1bddde57 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json @@ -88,7 +88,6 @@ "test:browser": "echo skipped", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.browser.config.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.browser.config.ts +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.esm.config.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json index b0ee370541a5..816a589979dd 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -565,7 +565,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/vitest.esm.config.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/redhatopenshift/arm-redhatopenshift/vitest.browser.config.ts b/sdk/redhatopenshift/arm-redhatopenshift/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/redhatopenshift/arm-redhatopenshift/vitest.browser.config.ts +++ b/sdk/redhatopenshift/arm-redhatopenshift/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/redis/arm-rediscache/vitest.browser.config.ts b/sdk/redis/arm-rediscache/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/redis/arm-rediscache/vitest.browser.config.ts +++ b/sdk/redis/arm-rediscache/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/redisenterprise/arm-redisenterprisecache/package.json b/sdk/redisenterprise/arm-redisenterprisecache/package.json index e20aa2f4ec67..8a2a2db36cfc 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/package.json +++ b/sdk/redisenterprise/arm-redisenterprisecache/package.json @@ -74,7 +74,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "echo skipped", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "sideEffects": false, diff --git a/sdk/redisenterprise/arm-redisenterprisecache/vitest.browser.config.ts b/sdk/redisenterprise/arm-redisenterprisecache/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/vitest.browser.config.ts +++ b/sdk/redisenterprise/arm-redisenterprisecache/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/redisenterprise/arm-redisenterprisecache/vitest.esm.config.ts b/sdk/redisenterprise/arm-redisenterprisecache/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/redisenterprise/arm-redisenterprisecache/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/relationships/arm-relationships/package.json b/sdk/relationships/arm-relationships/package.json index 2901fa9af8e3..e2e33d5b3bd9 100644 --- a/sdk/relationships/arm-relationships/package.json +++ b/sdk/relationships/arm-relationships/package.json @@ -173,7 +173,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/relationships/arm-relationships/vitest.esm.config.ts b/sdk/relationships/arm-relationships/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/relationships/arm-relationships/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/relay/arm-relay/vitest.browser.config.ts b/sdk/relay/arm-relay/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/relay/arm-relay/vitest.browser.config.ts +++ b/sdk/relay/arm-relay/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/reservations/arm-reservations/vitest.browser.config.ts b/sdk/reservations/arm-reservations/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/reservations/arm-reservations/vitest.browser.config.ts +++ b/sdk/reservations/arm-reservations/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resourceconnector/arm-resourceconnector/package.json b/sdk/resourceconnector/arm-resourceconnector/package.json index 37842eadc8fb..ddc392e2af77 100644 --- a/sdk/resourceconnector/arm-resourceconnector/package.json +++ b/sdk/resourceconnector/arm-resourceconnector/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/resourceconnector/arm-resourceconnector/vitest.esm.config.ts b/sdk/resourceconnector/arm-resourceconnector/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/resourceconnector/arm-resourceconnector/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/resourcegraph/arm-resourcegraph/vitest.browser.config.ts b/sdk/resourcegraph/arm-resourcegraph/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/resourcegraph/arm-resourcegraph/vitest.browser.config.ts +++ b/sdk/resourcegraph/arm-resourcegraph/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resourcehealth/arm-resourcehealth/vitest.browser.config.ts b/sdk/resourcehealth/arm-resourcehealth/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/resourcehealth/arm-resourcehealth/vitest.browser.config.ts +++ b/sdk/resourcehealth/arm-resourcehealth/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resourcemover/arm-resourcemover/vitest.browser.config.ts b/sdk/resourcemover/arm-resourcemover/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/resourcemover/arm-resourcemover/vitest.browser.config.ts +++ b/sdk/resourcemover/arm-resourcemover/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resources-subscriptions/arm-resources-subscriptions/vitest.browser.config.ts b/sdk/resources-subscriptions/arm-resources-subscriptions/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/resources-subscriptions/arm-resources-subscriptions/vitest.browser.config.ts +++ b/sdk/resources-subscriptions/arm-resources-subscriptions/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resources/arm-resources/vitest.browser.config.ts b/sdk/resources/arm-resources/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/resources/arm-resources/vitest.browser.config.ts +++ b/sdk/resources/arm-resources/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/package.json b/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/package.json index e2c9deef2e69..4164dcce734a 100644 --- a/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/package.json +++ b/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/vitest.esm.config.ts b/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/resourcesdeploymentstacks/arm-resourcesdeploymentstacks/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/scvmm/arm-scvmm/vitest.browser.config.ts b/sdk/scvmm/arm-scvmm/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/scvmm/arm-scvmm/vitest.browser.config.ts +++ b/sdk/scvmm/arm-scvmm/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/search/arm-search/package.json b/sdk/search/arm-search/package.json index f4f3aac50c41..701c2d32b111 100644 --- a/sdk/search/arm-search/package.json +++ b/sdk/search/arm-search/package.json @@ -275,7 +275,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/search/arm-search/vitest.esm.config.ts b/sdk/search/arm-search/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/search/arm-search/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/security/arm-security/vitest.browser.config.ts b/sdk/security/arm-security/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/security/arm-security/vitest.browser.config.ts +++ b/sdk/security/arm-security/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/securitydevops/arm-securitydevops/vitest.browser.config.ts b/sdk/securitydevops/arm-securitydevops/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/securitydevops/arm-securitydevops/vitest.browser.config.ts +++ b/sdk/securitydevops/arm-securitydevops/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/securityinsight/arm-securityinsight/vitest.browser.config.ts b/sdk/securityinsight/arm-securityinsight/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/securityinsight/arm-securityinsight/vitest.browser.config.ts +++ b/sdk/securityinsight/arm-securityinsight/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/selfhelp/arm-selfhelp/vitest.browser.config.ts b/sdk/selfhelp/arm-selfhelp/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/selfhelp/arm-selfhelp/vitest.browser.config.ts +++ b/sdk/selfhelp/arm-selfhelp/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/serialconsole/arm-serialconsole/vitest.browser.config.ts b/sdk/serialconsole/arm-serialconsole/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/serialconsole/arm-serialconsole/vitest.browser.config.ts +++ b/sdk/serialconsole/arm-serialconsole/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/service-map/arm-servicemap/vitest.browser.config.ts b/sdk/service-map/arm-servicemap/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/service-map/arm-servicemap/vitest.browser.config.ts +++ b/sdk/service-map/arm-servicemap/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/servicebus/arm-servicebus/vitest.browser.config.ts b/sdk/servicebus/arm-servicebus/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/servicebus/arm-servicebus/vitest.browser.config.ts +++ b/sdk/servicebus/arm-servicebus/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/servicefabric/arm-servicefabric/vitest.browser.config.ts b/sdk/servicefabric/arm-servicefabric/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/servicefabric/arm-servicefabric/vitest.browser.config.ts +++ b/sdk/servicefabric/arm-servicefabric/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/package.json b/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/package.json index 64a2f7bf49b9..f95b3f8a002b 100644 --- a/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/package.json +++ b/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/package.json @@ -87,7 +87,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/vitest.esm.config.ts b/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/servicefabricmanagedclusters/arm-servicefabricmanagedclusters/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/vitest.browser.config.ts b/sdk/servicefabricmesh/arm-servicefabricmesh/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/vitest.browser.config.ts +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/servicegroups/arm-servicegroups/package.json b/sdk/servicegroups/arm-servicegroups/package.json index b06270a5be9a..822a1703caea 100644 --- a/sdk/servicegroups/arm-servicegroups/package.json +++ b/sdk/servicegroups/arm-servicegroups/package.json @@ -149,7 +149,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/servicegroups/arm-servicegroups/vitest.esm.config.ts b/sdk/servicegroups/arm-servicegroups/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/servicegroups/arm-servicegroups/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/servicelinker/arm-servicelinker/vitest.browser.config.ts b/sdk/servicelinker/arm-servicelinker/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/servicelinker/arm-servicelinker/vitest.browser.config.ts +++ b/sdk/servicelinker/arm-servicelinker/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/signalr/arm-signalr/vitest.browser.config.ts b/sdk/signalr/arm-signalr/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/signalr/arm-signalr/vitest.browser.config.ts +++ b/sdk/signalr/arm-signalr/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/sitemanager/arm-sitemanager/package.json b/sdk/sitemanager/arm-sitemanager/package.json index 0c103075567c..3dfc045cb8e1 100644 --- a/sdk/sitemanager/arm-sitemanager/package.json +++ b/sdk/sitemanager/arm-sitemanager/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/sitemanager/arm-sitemanager/vitest.esm.config.ts b/sdk/sitemanager/arm-sitemanager/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/sitemanager/arm-sitemanager/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/sphere/arm-sphere/vitest.browser.config.ts b/sdk/sphere/arm-sphere/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/sphere/arm-sphere/vitest.browser.config.ts +++ b/sdk/sphere/arm-sphere/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/springappdiscovery/arm-springappdiscovery/vitest.browser.config.ts b/sdk/springappdiscovery/arm-springappdiscovery/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/springappdiscovery/arm-springappdiscovery/vitest.browser.config.ts +++ b/sdk/springappdiscovery/arm-springappdiscovery/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/sql/arm-sql/package.json b/sdk/sql/arm-sql/package.json index cfd924e2522e..81c3448d24ed 100644 --- a/sdk/sql/arm-sql/package.json +++ b/sdk/sql/arm-sql/package.json @@ -73,7 +73,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "echo skipped", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "sideEffects": false, diff --git a/sdk/sql/arm-sql/vitest.browser.config.ts b/sdk/sql/arm-sql/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/sql/arm-sql/vitest.browser.config.ts +++ b/sdk/sql/arm-sql/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/sql/arm-sql/vitest.esm.config.ts b/sdk/sql/arm-sql/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/sql/arm-sql/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/vitest.browser.config.ts b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/vitest.browser.config.ts +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/standbypool/arm-standbypool/vitest.browser.config.ts b/sdk/standbypool/arm-standbypool/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/standbypool/arm-standbypool/vitest.browser.config.ts +++ b/sdk/standbypool/arm-standbypool/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/storage/arm-storage/package.json b/sdk/storage/arm-storage/package.json index c8b7920cdf71..ccab17934d54 100644 --- a/sdk/storage/arm-storage/package.json +++ b/sdk/storage/arm-storage/package.json @@ -506,7 +506,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/storagecache/arm-storagecache/vitest.browser.config.ts b/sdk/storagecache/arm-storagecache/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/storagecache/arm-storagecache/vitest.browser.config.ts +++ b/sdk/storagecache/arm-storagecache/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/storagecache/arm-storagecache/vitest.esm.config.ts b/sdk/storagecache/arm-storagecache/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/storagecache/arm-storagecache/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/storagediscovery/arm-storagediscovery/package.json b/sdk/storagediscovery/arm-storagediscovery/package.json index a5d805343815..946f8090df5a 100644 --- a/sdk/storagediscovery/arm-storagediscovery/package.json +++ b/sdk/storagediscovery/arm-storagediscovery/package.json @@ -89,7 +89,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/storagediscovery/arm-storagediscovery/vitest.esm.config.ts b/sdk/storagediscovery/arm-storagediscovery/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/storagediscovery/arm-storagediscovery/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/storageimportexport/arm-storageimportexport/vitest.browser.config.ts b/sdk/storageimportexport/arm-storageimportexport/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/storageimportexport/arm-storageimportexport/vitest.browser.config.ts +++ b/sdk/storageimportexport/arm-storageimportexport/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/storagemover/arm-storagemover/package.json b/sdk/storagemover/arm-storagemover/package.json index d674acf8fee0..85f9cccbfb65 100644 --- a/sdk/storagemover/arm-storagemover/package.json +++ b/sdk/storagemover/arm-storagemover/package.json @@ -89,7 +89,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/storagemover/arm-storagemover/vitest.esm.config.ts b/sdk/storagemover/arm-storagemover/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/storagemover/arm-storagemover/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/storagesync/arm-storagesync/vitest.browser.config.ts b/sdk/storagesync/arm-storagesync/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/storagesync/arm-storagesync/vitest.browser.config.ts +++ b/sdk/storagesync/arm-storagesync/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/storsimple1200series/arm-storsimple1200series/vitest.browser.config.ts b/sdk/storsimple1200series/arm-storsimple1200series/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/vitest.browser.config.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/storsimple8000series/arm-storsimple8000series/vitest.browser.config.ts b/sdk/storsimple8000series/arm-storsimple8000series/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/vitest.browser.config.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/streamanalytics/arm-streamanalytics/vitest.browser.config.ts b/sdk/streamanalytics/arm-streamanalytics/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/streamanalytics/arm-streamanalytics/vitest.browser.config.ts +++ b/sdk/streamanalytics/arm-streamanalytics/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/vitest.browser.config.ts b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/vitest.browser.config.ts +++ b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/subscription/arm-subscriptions/package.json b/sdk/subscription/arm-subscriptions/package.json index 8bcbe0f20cc2..d431763322c7 100644 --- a/sdk/subscription/arm-subscriptions/package.json +++ b/sdk/subscription/arm-subscriptions/package.json @@ -229,7 +229,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/subscription/arm-subscriptions/vitest.esm.config.ts b/sdk/subscription/arm-subscriptions/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/subscription/arm-subscriptions/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/support/arm-support/vitest.browser.config.ts b/sdk/support/arm-support/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/support/arm-support/vitest.browser.config.ts +++ b/sdk/support/arm-support/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/synapse/arm-synapse/vitest.browser.config.ts b/sdk/synapse/arm-synapse/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/synapse/arm-synapse/vitest.browser.config.ts +++ b/sdk/synapse/arm-synapse/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/templatespecs/arm-templatespecs/vitest.browser.config.ts b/sdk/templatespecs/arm-templatespecs/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/templatespecs/arm-templatespecs/vitest.browser.config.ts +++ b/sdk/templatespecs/arm-templatespecs/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/package.json b/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/package.json index 6aea2b818804..807ae250c923 100644 --- a/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/package.json +++ b/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/package.json @@ -147,7 +147,6 @@ "test:browser": "dev-tool run test:vitest --browser", "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "update-snippets": "dev-tool run update-snippets" }, diff --git a/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/vitest.esm.config.ts b/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/tenantactivitylogalerts/arm-tenantactivitylogalerts/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/terraform/arm-terraform/vitest.browser.config.ts b/sdk/terraform/arm-terraform/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/terraform/arm-terraform/vitest.browser.config.ts +++ b/sdk/terraform/arm-terraform/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/vitest.browser.config.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/vitest.browser.config.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/trafficmanager/arm-trafficmanager/vitest.browser.config.ts b/sdk/trafficmanager/arm-trafficmanager/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/trafficmanager/arm-trafficmanager/vitest.browser.config.ts +++ b/sdk/trafficmanager/arm-trafficmanager/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/trustedsigning/arm-trustedsigning/package.json b/sdk/trustedsigning/arm-trustedsigning/package.json index 9a0fac04017b..95b8a3dca45b 100644 --- a/sdk/trustedsigning/arm-trustedsigning/package.json +++ b/sdk/trustedsigning/arm-trustedsigning/package.json @@ -88,7 +88,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/trustedsigning/arm-trustedsigning/vitest.esm.config.ts b/sdk/trustedsigning/arm-trustedsigning/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/trustedsigning/arm-trustedsigning/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/visualstudio/arm-visualstudio/vitest.browser.config.ts b/sdk/visualstudio/arm-visualstudio/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/visualstudio/arm-visualstudio/vitest.browser.config.ts +++ b/sdk/visualstudio/arm-visualstudio/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/vitest.browser.config.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/vitest.browser.config.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/voiceservices/arm-voiceservices/vitest.browser.config.ts b/sdk/voiceservices/arm-voiceservices/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/voiceservices/arm-voiceservices/vitest.browser.config.ts +++ b/sdk/voiceservices/arm-voiceservices/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/web-pubsub/arm-webpubsub/vitest.browser.config.ts b/sdk/web-pubsub/arm-webpubsub/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/web-pubsub/arm-webpubsub/vitest.browser.config.ts +++ b/sdk/web-pubsub/arm-webpubsub/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/workloadorchestration/arm-workloadorchestration/package.json b/sdk/workloadorchestration/arm-workloadorchestration/package.json index 3e95cffff6c4..d48fa7b330e0 100644 --- a/sdk/workloadorchestration/arm-workloadorchestration/package.json +++ b/sdk/workloadorchestration/arm-workloadorchestration/package.json @@ -89,7 +89,6 @@ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", "test:browser": "dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "//sampleConfiguration": { diff --git a/sdk/workloadorchestration/arm-workloadorchestration/vitest.esm.config.ts b/sdk/workloadorchestration/arm-workloadorchestration/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/workloadorchestration/arm-workloadorchestration/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig); diff --git a/sdk/workloads/arm-workloads/vitest.browser.config.ts b/sdk/workloads/arm-workloads/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/workloads/arm-workloads/vitest.browser.config.ts +++ b/sdk/workloads/arm-workloads/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts"; diff --git a/sdk/workloads/arm-workloadssapvirtualinstance/CHANGELOG.md b/sdk/workloads/arm-workloadssapvirtualinstance/CHANGELOG.md index e748e8e3a669..0325b857a7ee 100644 --- a/sdk/workloads/arm-workloadssapvirtualinstance/CHANGELOG.md +++ b/sdk/workloads/arm-workloadssapvirtualinstance/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.0.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.0.0 (2025-04-22) ### Features Added diff --git a/sdk/workloads/arm-workloadssapvirtualinstance/package.json b/sdk/workloads/arm-workloadssapvirtualinstance/package.json index bbe65094a564..b511d5b2c0f9 100644 --- a/sdk/workloads/arm-workloadssapvirtualinstance/package.json +++ b/sdk/workloads/arm-workloadssapvirtualinstance/package.json @@ -1,6 +1,6 @@ { "name": "@azure/arm-workloadssapvirtualinstance", - "version": "1.0.0", + "version": "1.0.1", "description": "A generated SDK for WorkloadsClient.", "engines": { "node": ">=20.0.0" diff --git a/sdk/workloads/arm-workloadssapvirtualinstance/src/api/workloadsContext.ts b/sdk/workloads/arm-workloadssapvirtualinstance/src/api/workloadsContext.ts index aec8944436f6..f6ca6ec2b391 100644 --- a/sdk/workloads/arm-workloadssapvirtualinstance/src/api/workloadsContext.ts +++ b/sdk/workloads/arm-workloadssapvirtualinstance/src/api/workloadsContext.ts @@ -30,7 +30,7 @@ export function createWorkloads( ): WorkloadsContext { const endpointUrl = options.endpoint ?? options.baseUrl ?? "https://management.azure.com"; const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix; - const userAgentInfo = `azsdk-js-arm-workloadssapvirtualinstance/1.0.0`; + const userAgentInfo = `azsdk-js-arm-workloadssapvirtualinstance/1.0.1`; const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`; diff --git a/sdk/workloads/arm-workloadssapvirtualinstance/vitest.browser.config.ts b/sdk/workloads/arm-workloadssapvirtualinstance/vitest.browser.config.ts index 72964f281efe..3005cfd05093 100644 --- a/sdk/workloads/arm-workloadssapvirtualinstance/vitest.browser.config.ts +++ b/sdk/workloads/arm-workloadssapvirtualinstance/vitest.browser.config.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default viteConfig; +export { default } from "../../../eng/vitestconfigs/browser.config.ts";