diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index c38b3e15de5d..011c7d27ffdf 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "main": "./dist/index.js", - "module": "dist-esm/keyvault-keys/src/index.js", + "module": "dist-esm/src/index.js", "types": "./types/keyvault-keys.d.ts", "engines": { "node": ">=8.0.0" @@ -29,7 +29,7 @@ "types/keyvault-keys.d.ts", "dist/", "dist-browser/", - "dist-esm/keyvault-keys/src", + "dist-esm/src", "README.md", "LICENSE" ], diff --git a/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts b/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts index 736f5ba1b513..3b533a5d12a9 100644 --- a/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts @@ -27,9 +27,9 @@ describe("Keys client's user agent (only in Node, because of fs)", () => { version = fileContents.version; } catch { // The integration-test script has this test file in a considerably different place, - // Along the lines of: dist-esm/keyvault-keys/test/internal/userAgent.spec.ts + // Along the lines of: dist-esm/test/internal/userAgent.spec.ts const fileContents = JSON.parse( - fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" }) + fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" }) ); version = fileContents.version; }