Skip to content

Commit

Permalink
test: buy/sell test working
Browse files Browse the repository at this point in the history
  • Loading branch information
ggilchrist-ledger committed Jul 11, 2023
1 parent e0c5c09 commit cf970ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tests/models/LiveAppWebview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class LiveAppWebview {
// eslint-disable-next-line no-console
console.info(`========> Live app successfully running on port ${port}! <=========`);

const localManifests = JSON.stringify(getLiveAppManifest(liveAppManifest));
const localManifests = JSON.stringify(getLiveAppManifest({ ...liveAppManifest, url: url }));
process.env.MOCK_REMOTE_LIVE_MANIFEST = localManifests;
console.log("mock manifest:", process.env.MOCK_REMOTE_LIVE_MANIFEST);
return true;
Expand Down
2 changes: 1 addition & 1 deletion libs/test-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function startDummyServer(appPath: string, port = 0): Promise<number> {
}

export function getLiveAppManifest(
params: Partial<AppManifest> & Pick<AppManifest, "id">,
params: Partial<AppManifest> & Pick<AppManifest, "id" & "url">,
): AppManifest[] {
const manifest = [
{
Expand Down

0 comments on commit cf970ec

Please sign in to comment.