MockBackend

Experimental

Class

Class Overview

class MockBackend implements ConnectionBackend {
constructor()

connections : any
connectionsArray : MockConnection[]
pendingConnections : any
verifyNoPendingRequests()
resolveAllConnections()
createConnection(req: Request) : MockConnection

}

Class Description

Annotations

@Injectable()

Constructor

constructor()

Class Details

exported from http/testing/index, defined in http/testing/src/mock_backend.ts