+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 7e634d48378bf52ad659e902d3a4b82e579cc6cd client/state/selectors/test/get-jetpack-onboarding-pending-steps.js client/state/selectors/test/is-jetpack-onboarding-step-completed.js
Updated 0 paths from b25618a11
+ git apply --verbose --reject -
Checking patch client/state/selectors/test/get-jetpack-onboarding-pending-steps.js...
Checking patch client/state/selectors/test/is-jetpack-onboarding-step-completed.js...
Applied patch client/state/selectors/test/get-jetpack-onboarding-pending-steps.js cleanly.
Applied patch client/state/selectors/test/is-jetpack-onboarding-step-completed.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/state/selectors/test/get-jetpack-onboarding-pending-steps.js
FAIL client/state/selectors/test/get-jetpack-onboarding-pending-steps.js (6.158s)
  getJetpackOnboardingPendingSteps()
    ✓ should return pending status for the woocommerce step (4ms)
    ✕ should return pending status for the stats step (9ms)

  ● getJetpackOnboardingPendingSteps() › should return pending status for the stats step

    expect(received).toEqual(expected)
    
    Expected value to equal:
      {"site-title": false, "site-type": false, "stats": true, "woocommerce": false}
    Received:
      {"site-title": false, "site-type": false, "stats": false, "woocommerce": false}
    
    Difference:
    
    - Expected
    + Received
    
      Object {
        "site-title": false,
        "site-type": false,
    -   "stats": true,
    +   "stats": false,
        "woocommerce": false,
      }

      55 | 		};
      56 | 		const pending = getJetpackOnboardingPendingSteps( state, siteId, steps );
    > 57 | 		expect( pending ).toEqual( expected );
      58 | 	} );
      59 | } );
      60 |
      
      at Object.<anonymous> (client/state/selectors/test/get-jetpack-onboarding-pending-steps.js:57:21)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 passed, 2 total
Snapshots:   0 total
Time:        6.251s
Ran all test suites matching /client\/state\/selectors\/test\/get-jetpack-onboarding-pending-steps.js/i.
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/state/selectors/test/is-jetpack-onboarding-step-completed.js
FAIL client/state/selectors/test/is-jetpack-onboarding-step-completed.js
  isJetpackOnboardingStepCompleted()
    ✓ should return false for a null site ID (3ms)
    ✓ should return false if we have no settings for that site (4ms)
    ✓ should return false for an unexisting step
    ✓ should return true for site title step if we have modified the site title
    ✓ should return true for site title step if we have modified the site description (1ms)
    ✓ should return false if site title and description have not been modified yet
    ✓ should return true for site type step if we have selected the site type
    ✓ should return false for site type step if we have not selected the site type yet
    ✓ should return false for site type step if site type is specified as not selected
    ✓ should return true for homepage step if we have selected the homepage format
    ✓ should return false for homepage step if we have not selected the homepage format yet
    ✓ should return false for homepage step if we it is specified as not selected
    ✓ should return true for contact form step if we have chosen to create a contact form
    ✓ should return false for contact form step if we have not chosen to create a contact form
    ✓ should return false for contact form step if it is specified as not selected
    ✓ should return true for business address step if we have chosen to add a business address
    ✓ should return false for business address step if we have not added a business address
    ✓ should return false for business address step if it is specified as not added yet
    ✓ should return true for woocommerce step if we have chosen to install woocommerce (1ms)
    ✓ should return false for woocommerce step if we have not installed/activated woocommerce
    ✓ should return false for woocommerce step if it is specified as not installed/activated yet
    ✕ should return true for stats step if we have chosen to activate stats (10ms)
    ✓ should return false for stats step if we have not activated stats
    ✓ should return false for stats step if it is specified as not activated

  ● isJetpackOnboardingStepCompleted() › should return true for stats step if we have chosen to activate stats

    expect(received).toBe(expected) // Object.is equality
    
    Expected value to be:
      true
    Received:
      false

      339 | 		const completed = isJetpackOnboardingStepCompleted( state, 2916284, STEPS.STATS );
      340 |
    > 341 | 		expect( completed ).toBe( true );
      342 | 	} );
      343 |
      344 | 	test( 'should return false for stats step if we have not activated stats', () => {
      
      at Object.<anonymous> (client/state/selectors/test/is-jetpack-onboarding-step-completed.js:341:23)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 23 passed, 24 total
Snapshots:   0 total
Time:        1.31s
Ran all test suites matching /client\/state\/selectors\/test\/is-jetpack-onboarding-step-completed.js/i.
+ : '>>>>> End Test Output'
+ git checkout 7e634d48378bf52ad659e902d3a4b82e579cc6cd client/state/selectors/test/get-jetpack-onboarding-pending-steps.js client/state/selectors/test/is-jetpack-onboarding-step-completed.js
Updated 2 paths from b25618a11
