Skip to content

Commit aff7012

Browse files
authored
chore(client): remove unused function formatSecret() (#45)
1 parent 4389b45 commit aff7012

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/client/src/bsky/index.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ import { CredentialManager } from '@atcute/client';
22
import { describe, expect, it } from 'vitest';
33
import { Tsky } from '~/index';
44

5-
const formatSecret = (secret: string | undefined) => {
6-
if (!secret) {
7-
throw new Error('Secret is required');
8-
}
9-
10-
return secret.replace(/^tsky /g, '').trim();
11-
};
12-
135
const TEST_CREDENTIALS = {
146
alice: {
157
handle: 'alice.tsky.dev',

0 commit comments

Comments
 (0)