license import { Observable } from "rxjs" ; import { argsSymbol } from "./args" ; export function assertArgs < T > ( observable ) { if ( ! observable [ argsSymbol ] ) { throw new Error ( "Expected a hot or cold test observable." ) ; } } export function assertSubscriptions < T > ( observable ) { if ( ! observable [ "subscriptions" ] ) { throw new Error ( "Expected a hot or cold test observable with subscriptions." ) ; } }