+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 54d626a276373d45ffddd2cf4f7099733c8e43de client/state/data-layer/wpcom/comments/test/index.js
Updated 0 paths from 720e9405e4
+ git apply --verbose --reject -
Checking patch client/state/data-layer/wpcom/comments/test/index.js...
Applied patch client/state/data-layer/wpcom/comments/test/index.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/state/data-layer/wpcom/comments/test/index.js
FAIL client/state/data-layer/wpcom/comments/test/index.js
  wpcom-api
    post comments request
      #fetchPostComments()
        ✓ should dispatch an HTTP request to the post replies endpoint (4ms)
        ✓ should dispatch an HTTP request to the post replies endpoint, before the oldest contiguous comment in state
      #addComments
        ✓ should dispatch a comments receive action
        ✓ should dispatch a comments receive action and a count receive action when comments found (1ms)
      commentsFromApi
        ✓ should decode author name entities (1ms)
      #announceFailure
        ✕ should dispatch an error notice (14ms)
      #handleDeleteSuccess
        ✓ should not do anything when no options are set (1ms)
        ✓ should show a success notice if the related option is set
        ✓ should request a fresh copy of a comments page when the query object is filled

  ● wpcom-api › post comments request › #announceFailure › should dispatch an error notice

    expect(jest.fn()).toHaveBeenCalledWith(expected)
    
    Expected mock function to have been called with:
      ObjectContaining {"notice": ObjectContaining {"duration": 5000, "status": "is-error", "text": "Could not retrieve comments for requested post"}, "type": "NOTICE_CREATE"} as argument 1, but it was called with {"notice": {"noticeId": "comments-request-failure-2916284-1010", "showDismiss": true, "status": "is-error", "text": "Could not retrieve comments for requested post"}, "type": "NOTICE_CREATE"}.

      172 | 
      173 | 				expect( dispatch ).toHaveBeenCalledTimes( 1 );
    > 174 | 				expect( dispatch ).toHaveBeenCalledWith(
      175 | 					expect.objectContaining( {
      176 | 						type: NOTICE_CREATE,
      177 | 						notice: expect.objectContaining( {
      
      at Object.<anonymous> (client/state/data-layer/wpcom/comments/test/index.js:174:24)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 8 passed, 9 total
Snapshots:   0 total
Time:        3.517s
Ran all test suites matching /client\/state\/data-layer\/wpcom\/comments\/test\/index.js/i.
+ : '>>>>> End Test Output'
+ git checkout 54d626a276373d45ffddd2cf4f7099733c8e43de client/state/data-layer/wpcom/comments/test/index.js
Updated 1 path from 720e9405e4
