GitHub

DaffExternalRouterTestingDriver

import { DaffExternalRouterTestingDriver } from '@daffodil/external-router/driver/testing'

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

@Injectable()
class DaffExternalRouterTestingDriver implements DaffExternalRouterDriverInterface {
  resolve(url: string): Observable<DaffExternallyResolvableUrl>
}

() Methods

resolve
Observable<DaffExternallyResolvableUrl>

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

Parameters
Parameterurl: string
Description