Files
bird/tests/library-exports.test.ts
yuta 81921226f0
CI / test (push) Successful in 10m17s
feat: support ranked tweet search
2026-07-13 09:18:42 +09:00

16 lines
476 B
TypeScript

import { describe, expect, it } from 'vitest';
import { type SearchFetchOptions, type SearchProduct, TwitterClient } from '../src/index.js';
describe('library exports', () => {
it('exposes primary library surface', () => {
expect(typeof TwitterClient).toBe('function');
});
it('exposes search product types', () => {
const product: SearchProduct = 'Top';
const options: SearchFetchOptions = { product };
expect(options.product).toBe('Top');
});
});