GitHub

DaffExternalRouterTestingDriver

The DaffExternalRouterTestingDriver is responsible for translating an arbitrary URI into a DaffExternallyResolvableUrl in testing environments.

import { DaffExternalRouterTestingDriver } from '@daffodil/external-router/driver/testing'
@Injectable()
class DaffExternalRouterTestingDriver implements DaffExternalRouterDriverInterface {
  resolve(url: string): Observable<DaffExternallyResolvableUrl>
}

Properties

Name Type Description
resolve Observable<DaffExternallyResolvableUrl>

Resolves a URL with a platform. Returns information about the type of URL.