We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
formatSecret()
1 parent 4389b45 commit aff7012Copy full SHA for aff7012
packages/client/src/bsky/index.test.ts
@@ -2,14 +2,6 @@ import { CredentialManager } from '@atcute/client';
2
import { describe, expect, it } from 'vitest';
3
import { Tsky } from '~/index';
4
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
13
const TEST_CREDENTIALS = {
14
alice: {
15
handle: 'alice.tsky.dev',
0 commit comments