File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 type LiveDataEntry ,
1010 type LiveQueue ,
1111} from './ergonomic/live' ;
12+ export { parseApiDateTime } from './dates' ;
Original file line number Diff line number Diff line change 1+ import { describe , it , expect } from 'vitest' ;
2+ import {
3+ ApiError ,
4+ InMemoryLruCache ,
5+ NetworkError ,
6+ RateLimitError ,
7+ ThemeParks ,
8+ ThemeParksError ,
9+ TimeoutError ,
10+ currentWaitTime ,
11+ narrowQueues ,
12+ parseApiDateTime ,
13+ } from '../../src' ;
14+
15+ describe ( 'public API surface' , ( ) => {
16+ it ( 'exports the documented symbols' , ( ) => {
17+ expect ( typeof ThemeParks ) . toBe ( 'function' ) ;
18+ expect ( typeof currentWaitTime ) . toBe ( 'function' ) ;
19+ expect ( typeof narrowQueues ) . toBe ( 'function' ) ;
20+ expect ( typeof parseApiDateTime ) . toBe ( 'function' ) ;
21+ expect ( typeof InMemoryLruCache ) . toBe ( 'function' ) ;
22+ expect ( typeof ApiError ) . toBe ( 'function' ) ;
23+ expect ( typeof NetworkError ) . toBe ( 'function' ) ;
24+ expect ( typeof RateLimitError ) . toBe ( 'function' ) ;
25+ expect ( typeof TimeoutError ) . toBe ( 'function' ) ;
26+ expect ( typeof ThemeParksError ) . toBe ( 'function' ) ;
27+ } ) ;
28+ } ) ;
You can’t perform that action at this time.
0 commit comments