+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 54d626a276373d45ffddd2cf4f7099733c8e43de client/state/data-layer/wpcom/comments/test/index.js
Updated 1 path 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 (3ms)
        ✓ should dispatch an HTTP request to the post replies endpoint, before the oldest contiguous comment in state (1ms)
      #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 (8ms)
      #handleDeleteSuccess
        ✓ should not do anything when no options are set
        ✓ 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()).toHaveBeenCalledTimes(1)
    
    Expected mock function to have been called one time, but it was called two times.

      171 | 				announceFailure( { siteId: 2916284, postId: 1010 } )( dispatch, getState );
      172 | 
    > 173 | 				expect( dispatch ).toHaveBeenCalledTimes( 1 );
      174 | 				expect( dispatch ).toHaveBeenCalledWith(
      175 | 					expect.objectContaining( {
      176 | 						type: NOTICE_CREATE,
      
      at Object.<anonymous> (client/state/data-layer/wpcom/comments/test/index.js:173:24)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 8 passed, 9 total
Snapshots:   0 total
Time:        2.698s
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
