ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

expectPATCH(url, [data], [headers], [keys]); Creates a new request expectation for PATCH requests. For more info see expect()

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

closeAndFlush(); This method will close all pending animations (both

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

expectRoute(method, url); Creates a new request expectation that compares only with the requested route.

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

expectHEAD(url, [headers], [keys]); Creates a new request expectation for HEAD requests. For more info see expect().

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

flush([delay]); Flushes the queue of pending tasks. Parameters

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

verifyNoPendingTasks(); Verifies that there are no pending tasks that need to be flushed.

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

whenDELETE(url, [headers], [keys]); Creates a new backend definition for DELETE requests. For more info see when().

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

whenPOST(url, [data], [headers], [keys]); Creates a new backend definition for POST requests. For more info see when()

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

verifyNoOutstandingRequest(); Verifies that there are no outstanding requests that need to be flushed. Typically, you would call

2025-01-10 15:47:30
ngMock.
  • References/JavaScript/AngularJS/ngMock/ngMock

mode(mode); Sets the logging mode. Parameters

2025-01-10 15:47:30