Skip to content

Commit

Permalink
Update TestUtil screenshot folder
Browse files Browse the repository at this point in the history
  • Loading branch information
hectormmg committed Aug 27, 2024
1 parent 86b3677 commit 50b2398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/e2eTestUtils/src/TestUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export async function b2cMsaAccountEnterCredentials(
}

// Constants
export const SCREENSHOT_BASE_FOLDER_NAME = `${__dirname}/screenshots`;
export const SCREENSHOT_BASE_FOLDER_NAME = `${process.cwd()}/screenshots`;
export const SAMPLE_HOME_URL = "http://localhost";
export const SUCCESSFUL_GRAPH_CALL_ID = "graph-called-successfully";
export const SUCCESSFUL_SILENT_TOKEN_ACQUISITION_ID = "token-acquired-silently";
Expand Down
2 changes: 1 addition & 1 deletion samples/msal-node-samples/auth-code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ if (argv.$0 === "index.js") {
clientId: config.authOptions.clientId,
authority: config.authOptions.authority,
clientSecret: process.env.AZURE_CLIENT_SECRET,
knownAuthorities: [config.authOptions.knownAuthorities]
knownAuthorities: config.authOptions.knownAuthorities
},
cache: {
cachePlugin
Expand Down

0 comments on commit 50b2398

Please sign in to comment.