Skip to content

Commit

Permalink
chore(client): remove unused function formatSecret()
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 committed Jan 19, 2025
1 parent 4389b45 commit a943b29
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/client/src/bsky/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ import { CredentialManager } from '@atcute/client';
import { describe, expect, it } from 'vitest';
import { Tsky } from '~/index';

const formatSecret = (secret: string | undefined) => {
if (!secret) {
throw new Error('Secret is required');
}

return secret.replace(/^tsky /g, '').trim();
};

const TEST_CREDENTIALS = {
alice: {
handle: 'alice.tsky.dev',
Expand Down

0 comments on commit a943b29

Please sign in to comment.