Skip to content

Commit

Permalink
Revert "Follow up to add nav parameter (microsoft#23845)"
Browse files Browse the repository at this point in the history
This reverts commit 3c2d546.
  • Loading branch information
MarioJGMsoft committed Feb 19, 2025
1 parent 93c64d0 commit 75ce7a9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,7 @@ describe("Create New Utils Tests", () => {
});

// Extract the Base64 encoded value of `nav`
const base64Value = odspResolvedUrl.shareLinkInfo.createLink.link.webUrl.match(
/nav=([^&]*)/,
)?.[1] as string;
const base64Value = mockSharingLinkData.webUrl.match(/nav=([^&]*)/)?.[1] as string;
// Decode the Base64 value to UTF-8, \r�� is being stored at the end of the string so we slice it off
const decodedValue = fromBase64ToUtf8(base64Value).slice(0, -3);

Expand Down Expand Up @@ -473,7 +471,6 @@ describe("Create New Utils Tests", () => {
assert(!odspResolvedUrl2.isClpCompliantApp, "isClpCompliantApp should be falsy");
await epochTracker.removeEntries().catch(() => {});
});

it("Should set the appropriate nav param info when a resolved url is sent", async () => {
const mockOdspResolvedUrl: IOdspResolvedUrl = {
...resolvedUrl,
Expand Down

0 comments on commit 75ce7a9

Please sign in to comment.