chore: drop comments that restate the code
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import type { TokenStore } from '../../src/token/TokenStore.js';
|
||||
|
||||
/** In-memory token store for testing. */
|
||||
export function createFakeTokenStore(): TokenStore {
|
||||
let access: string | null = null;
|
||||
let refresh: string | null = null;
|
||||
|
||||
@@ -2,7 +2,6 @@ import { RudderClient, createClient } from '../../src/client/RudderClient.js';
|
||||
import type { RudderClientOptions } from '../../src/client/RudderClientOptions.js';
|
||||
import { createFakeTokenStore } from './FakeTokenStore.js';
|
||||
|
||||
/** Creates a RudderClient with test-friendly defaults and a fake token store. */
|
||||
export function createTestClient(overrides?: Partial<RudderClientOptions>): RudderClient {
|
||||
return createClient({
|
||||
baseUrl: 'https://api.test.rudder.build',
|
||||
|
||||
Reference in New Issue
Block a user