Skip to content

Commit

Permalink
feat: added LND Connect URL for REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
NehaK745 committed Aug 30, 2021
1 parent d734015 commit 0a63e9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

lint-staged
yarn lint-staged
4 changes: 2 additions & 2 deletions src/components/designer/lightning/LightningDetails.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,9 @@ describe('LightningDetails', () => {
fireEvent.click(await findByText('Connect'));
await waitFor(() => getByText('TLS Cert'));
toggle(container, 'lndc');
await waitFor(() => getByText('Admin Macaroon Url'));
await waitFor(() => getByText('GRPC Admin Macaroon Url'));
expect(files.read).toBeCalledTimes(4);
expect(getAllByText(/lndconnect/)).toHaveLength(3);
expect(getAllByText(/lndconnect/)).toHaveLength(6);
});

it('should display and error if getting the LND Connect url fails', async () => {
Expand Down

0 comments on commit 0a63e9e

Please sign in to comment.