refactor: split cli and library entry
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { resolveCredentials, TwitterClient } from '../src/index.js';
|
||||
|
||||
describe('library exports', () => {
|
||||
it('exposes primary library surface', () => {
|
||||
expect(typeof TwitterClient).toBe('function');
|
||||
expect(typeof resolveCredentials).toBe('function');
|
||||
});
|
||||
});
|
||||
@@ -1345,10 +1345,7 @@ describe('TwitterClient', () => {
|
||||
timeline: {
|
||||
instructions: [
|
||||
{
|
||||
entries: [
|
||||
makeSearchEntry('1'),
|
||||
{ content: { cursorType: 'Bottom', value: 'cursor-1' } },
|
||||
],
|
||||
entries: [makeSearchEntry('1'), { content: { cursorType: 'Bottom', value: 'cursor-1' } }],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user