Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Apr 29, 2019
1 parent fae27e7 commit b4b4431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/embed/src/urlBuilder.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test('Create embed telemetry URL with secret only', () => {
});

test('Create legacy embed URL', () => {
const actual = legacyEmbedURL('webchat-mockbot', { s: 'secret' });
const actual = legacyEmbedURL('webchat-mockbot', new URLSearchParams({ s: 'secret' }));

expect(actual).toBe('/embed/webchat-mockbot?s=secret');
});

0 comments on commit b4b4431

Please sign in to comment.