+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout af9cf1f55288ebefb6cd1d796df3893db41f2292 client/state/data-layer/wpcom/sites/plan-transfer/test/index.js
Updated 0 paths from b1a23a37f5
+ git apply --verbose --reject -
Checking patch client/state/data-layer/wpcom/sites/plan-transfer/test/index.js...
Applied patch client/state/data-layer/wpcom/sites/plan-transfer/test/index.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/state/data-layer/wpcom/sites/plan-transfer/test/index.js
FAIL client/state/data-layer/wpcom/sites/plan-transfer/test/index.js
  requestPlanOwnershipTransfer()
    ✓ should return an action for HTTP request to transfer the site plan to another user (5ms)
  handleTransferSuccess()
    ✕ should return a success notice action and a function (21ms)
  handleTransferError()
    ✓ should return an error notice action

  ● handleTransferSuccess() › should return a success notice action and a function

    expect(received)[.not].toHaveLength(length)
    
    Expected value to have a 'length' property that is a number. Received:
      {"notice": {"duration": 8000, "noticeId": "sites-plan-transfer-notice-2916284", "showDismiss": true, "status": "is-success", "text": "Plan purchaser has been changed successfully."}, "type": "NOTICE_CREATE"}
    received.length:
      undefined

      37 | 		const actions = handleTransferSuccess( { siteId } );
      38 | 
    > 39 | 		expect( actions ).toHaveLength( 2 );
      40 | 		expect( actions[ 0 ] ).toMatchObject(
      41 | 			successNotice( 'Plan purchaser has been changed successfully.', {
      42 | 				duration: 8000,
      
      at Object.<anonymous> (client/state/data-layer/wpcom/sites/plan-transfer/test/index.js:39:21)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 2 passed, 3 total
Snapshots:   0 total
Time:        4.982s
Ran all test suites matching /client\/state\/data-layer\/wpcom\/sites\/plan-transfer\/test\/index.js/i.
+ : '>>>>> End Test Output'
+ git checkout af9cf1f55288ebefb6cd1d796df3893db41f2292 client/state/data-layer/wpcom/sites/plan-transfer/test/index.js
Updated 1 path from b1a23a37f5
