Skip to content

Commit

Permalink
fix: remove test for removed code
Browse files Browse the repository at this point in the history
  • Loading branch information
einaralex committed Jan 10, 2025
1 parent 75c0891 commit 47dcb5b
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions packages/sdk/test/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,6 @@ process.env.CI !== 'true' &&
expect(LINK_MESSAGE).toBe(message);
});

test('sandbox environment', () => {
const client = new MoneriumClient('sandbox');
const defaultClient = new MoneriumClient();
const url = client.getAuthFlowURI({
client_id: '',
redirect_uri: '',
});
const defaultUrl = defaultClient.getAuthFlowURI({
client_id: '',
redirect_uri: '',
});
expect(defaultUrl).toContain('https://api.monerium.dev');
expect(url).toContain('https://api.monerium.dev');
});

test('production environment', () => {
const client = new MoneriumClient('production');

const url = client.getAuthFlowURI({
client_id: '',
redirect_uri: '',
});
expect(url).toContain('https://api.monerium.app');
});

test('authorize with refresh token attempt', async () => {
const client = new MoneriumClient({
clientId: APP_ONE_AUTH_FLOW_CLIENT_ID,
Expand Down

0 comments on commit 47dcb5b

Please sign in to comment.