+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 91b73692253827a03cfbd98411a5d809b46a776b client/extensions/woocommerce/state/sites/locations/test/selectors.js
Updated 0 paths from 1f0f9700d
+ git apply --verbose --reject -
Checking patch client/extensions/woocommerce/state/sites/locations/test/selectors.js...
Applied patch client/extensions/woocommerce/state/sites/locations/test/selectors.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/extensions/woocommerce/state/sites/locations/test/selectors.js
FAIL client/extensions/woocommerce/state/sites/locations/test/selectors.js
  selectors
    #areLocationsLoaded
      ✓ should return false when woocommerce state is not available. (1ms)
      ✓ should return true when locations are loaded. (1ms)
      ✓ should return false when locations are currently being fetched.
      ✓ should return false when locations are loaded only for a different site.
      ✓ should get the siteId from the UI tree if not provided.
    #areLocationsLoading
      ✓ should return false when woocommerce state is not available.
      ✓ should return false when locations are loaded.
      ✓ should return true when locations are currently being fetched.
      ✓ should return false when locations are loaded only for a different site.
      ✓ should get the siteId from the UI tree if not provided.
    #getContinents
      ✓ should return an empty list if the locations are not loaded (1ms)
      ✓ should return an empty list if the locations are being loaded
      ✓ should return the continents, sorted by name (1ms)
    #getCountries
      ✓ should return an empty list if the locations are not loaded
      ✓ should return an empty list if the locations are being loaded
      ✓ should return an empty list if the continent does not exist (1ms)
      ✓ should return the countries from a continent, sorted by name
    #getCountryName
      ✓ should fallback to the country code if the locations are not loaded
      ✓ should fallback to the country code if the country does not exist
      ✓ should return the country name
    #getStates
      ✓ should return an empty list if the locations are not loaded
      ✓ should return an empty list if the locations are being loaded
      ✓ should return an empty list if the country does not exist
      ✓ should return an empty list if the country does not have states
      ✓ should return the states from a country, sorted by name
    #hasStates
      ✓ should return false if the locations are not loaded
      ✓ should return false if the locations are being loaded
      ✓ should return false if the country does not exist
      ✓ should return false if the country does not have states
      ✓ should return true if the country has states
    #getCountriesWithStates
      ✕ should return an empty list if the locations are not loaded (10ms)
      ✕ should return an empty list if the locations are being loaded
      ✕ should return the countries with states, sorted

  ● selectors › #getCountriesWithStates › should return an empty list if the locations are not loaded

    TypeError: (0 , _selectors.getCountriesWithStates) is not a function

      264 | 	describe( '#getCountriesWithStates', () => {
      265 | 		test( 'should return an empty list if the locations are not loaded', () => {
    > 266 | 			expect( getCountriesWithStates( emptyState ) ).to.deep.equal( [] );
      267 | 		} );
      268 |
      269 | 		test( 'should return an empty list if the locations are being loaded', () => {
      
      at Object.<anonymous> (client/extensions/woocommerce/state/sites/locations/test/selectors.js:266:12)

  ● selectors › #getCountriesWithStates › should return an empty list if the locations are being loaded

    TypeError: (0 , _selectors.getCountriesWithStates) is not a function

      268 |
      269 | 		test( 'should return an empty list if the locations are being loaded', () => {
    > 270 | 			expect( getCountriesWithStates( loadingState ) ).to.deep.equal( [] );
      271 | 		} );
      272 |
      273 | 		test( 'should return the countries with states, sorted', () => {
      
      at Object.<anonymous> (client/extensions/woocommerce/state/sites/locations/test/selectors.js:270:12)

  ● selectors › #getCountriesWithStates › should return the countries with states, sorted

    TypeError: (0 , _selectors.getCountriesWithStates) is not a function

      272 |
      273 | 		test( 'should return the countries with states, sorted', () => {
    > 274 | 			expect( getCountriesWithStates( loadedState ) ).to.deep.equal( [ 'CA', 'US' ] );
      275 | 		} );
      276 | 	} );
      277 | } );
      
      at Object.<anonymous> (client/extensions/woocommerce/state/sites/locations/test/selectors.js:274:12)

Test Suites: 1 failed, 1 total
Tests:       3 failed, 30 passed, 33 total
Snapshots:   0 total
Time:        1.856s
Ran all test suites matching /client\/extensions\/woocommerce\/state\/sites\/locations\/test\/selectors.js/i.
+ : '>>>>> End Test Output'
+ git checkout 91b73692253827a03cfbd98411a5d809b46a776b client/extensions/woocommerce/state/sites/locations/test/selectors.js
Updated 1 path from 1f0f9700d
