No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /testbed
  6707 files checked.
  testMatch: /testbed/client/**/test/*.js?(x), !**/.eslintrc.* - 1434 matches
  testPathIgnorePatterns: /node_modules/ - 6707 matches
  testRegex:  - 0 matches
Pattern: client/lib/user-settings/test/mocks/wp.js - 0 matches
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 4250bc3ebba1c9fe1cbf0e913723f1177985dca2 client/lib/cart/store/test/index.js client/lib/user-settings/test/mocks/wp.js client/lib/user/test/utils.js
Updated 0 paths from 5a63b1f724
+ git apply --verbose --reject -
Checking patch client/lib/cart/store/test/index.js...
Checking patch client/lib/user-settings/test/mocks/wp.js...
Checking patch client/lib/user/test/utils.js...
Applied patch client/lib/cart/store/test/index.js cleanly.
Applied patch client/lib/user-settings/test/mocks/wp.js cleanly.
Applied patch client/lib/user/test/utils.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.js client/lib/cart/store/test/index.js
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
FAIL client/lib/cart/store/test/index.js (6s)
  Cart Store
    ✕ Store should be an object (3963ms)
    ✕ Store should have method emitChange
    ✕ Store should have method get (1ms)
    ✕ Store should ignore update actions that arrive after disable
    Transaction Payment Set
      ✕ should extract location from payment method for stored (1ms)
      ✕ should extract location from payment method for creditCard
      ✕ should extract location from payment method for credits
      ✕ should extract location from payment method for unrecognized (1ms)
      ✕ Should report an unknown payment method
      ✕ Should report an unknown payment method parameters
      ✕ Should not report a known payment method (1ms)
      ✕ Should not ignore missing country code values

  ● Cart Store › Store should be an object

    TypeError: me.get(...).then is not a function

      146 | 
      147 | 	me.get( { meta: 'flags', abtests: getActiveTestNames( { appendDatestamp: true, asCSV: true } ) } )
    > 148 | 		.then( data => {
          | 		 ^
      149 | 			const userData = filterUserObject( data );
      150 | 			this.handleFetchSuccess( userData );
      151 | 			debug( 'User successfully retrieved' );

      at User.then [as fetch] (client/lib/user/user.js:148:4)
      at User.fetch [as initialize] (client/lib/user/user.js:100:7)
      at new initialize (client/lib/user/user.js:40:7)
      at _default (client/lib/user/index.js:18:11)
      at Object.<anonymous> (client/lib/analytics/ad-tracking.js:29:14)
      at Object.<anonymous> (client/lib/analytics/index.js:35:1)
      at Object.<anonymous> (client/lib/purchases/index.js:15:1)
      at Object.<anonymous> (client/lib/products-values/sort.js:12:1)
      at Object.<anonymous> (client/lib/cart-values/cart-items.js:56:1)
      at Object.<anonymous> (client/lib/cart/store/index.js:41:1)
      at require (client/lib/cart/store/test/index.js:52:16)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Store should be an object

    expect(received).toBe(expected) // Object.is equality

    Expected: "object"
    Received: "undefined"

      59 | 
      60 | 	test( 'Store should be an object', () => {
    > 61 | 		expect( typeof CartStore ).toBe( 'object' );
         | 		                           ^
      62 | 	} );
      63 | 
      64 | 	test( 'Store should have method emitChange', () => {

      at Object.toBe (client/lib/cart/store/test/index.js:61:30)

  ● Cart Store › Store should have method emitChange

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Store should have method emitChange

    TypeError: Cannot read property 'emitChange' of undefined

      63 | 
      64 | 	test( 'Store should have method emitChange', () => {
    > 65 | 		expect( typeof CartStore.emitChange ).toBe( 'function' );
         | 		                         ^
      66 | 	} );
      67 | 
      68 | 	test( 'Store should have method get', () => {

      at Object.emitChange (client/lib/cart/store/test/index.js:65:28)

  ● Cart Store › Store should have method get

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Store should have method get

    TypeError: Cannot read property 'get' of undefined

      67 | 
      68 | 	test( 'Store should have method get', () => {
    > 69 | 		expect( typeof CartStore.get ).toBe( 'function' );
         | 		                         ^
      70 | 	} );
      71 | 
      72 | 	test( 'Store should ignore update actions that arrive after disable', () => {

      at Object.get (client/lib/cart/store/test/index.js:69:28)

  ● Cart Store › Store should ignore update actions that arrive after disable

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Store should ignore update actions that arrive after disable

    isolateModules cannot be nested inside another isolateModules.

      72 | 	test( 'Store should ignore update actions that arrive after disable', () => {
      73 | 		let disableCart, removeCoupon;
    > 74 | 		jest.isolateModules( () => {
         | 		     ^
      75 | 			const cartActions = jest.requireActual( 'lib/upgrades/actions/cart' );
      76 | 			disableCart = cartActions.disableCart;
      77 | 			removeCoupon = cartActions.removeCoupon;

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:74:8)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for stored

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for stored

    TypeError: Cannot read property 'handleServerAction' of undefined

      86 | 			'should extract location from payment method for %s',
      87 | 			( paymentMethod, location ) => {
    > 88 | 				Dispatcher.handleServerAction( transactionPaymentSetActions[ paymentMethod ] );
         | 				           ^
      89 | 				expect( setTaxLocation ).toHaveBeenCalledWith( location );
      90 | 			}
      91 | 		);

      at handleServerAction (client/lib/cart/store/test/index.js:88:16)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for creditCard

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for creditCard

    TypeError: Cannot read property 'handleServerAction' of undefined

      86 | 			'should extract location from payment method for %s',
      87 | 			( paymentMethod, location ) => {
    > 88 | 				Dispatcher.handleServerAction( transactionPaymentSetActions[ paymentMethod ] );
         | 				           ^
      89 | 				expect( setTaxLocation ).toHaveBeenCalledWith( location );
      90 | 			}
      91 | 		);

      at handleServerAction (client/lib/cart/store/test/index.js:88:16)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for credits

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for credits

    TypeError: Cannot read property 'handleServerAction' of undefined

      86 | 			'should extract location from payment method for %s',
      87 | 			( paymentMethod, location ) => {
    > 88 | 				Dispatcher.handleServerAction( transactionPaymentSetActions[ paymentMethod ] );
         | 				           ^
      89 | 				expect( setTaxLocation ).toHaveBeenCalledWith( location );
      90 | 			}
      91 | 		);

      at handleServerAction (client/lib/cart/store/test/index.js:88:16)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for unrecognized

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › should extract location from payment method for unrecognized

    TypeError: Cannot read property 'handleServerAction' of undefined

      86 | 			'should extract location from payment method for %s',
      87 | 			( paymentMethod, location ) => {
    > 88 | 				Dispatcher.handleServerAction( transactionPaymentSetActions[ paymentMethod ] );
         | 				           ^
      89 | 				expect( setTaxLocation ).toHaveBeenCalledWith( location );
      90 | 			}
      91 | 		);

      at handleServerAction (client/lib/cart/store/test/index.js:88:16)

  ● Cart Store › Transaction Payment Set › Should report an unknown payment method

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › Should report an unknown payment method

    TypeError: Cannot read property 'handleServerAction' of undefined

      92 | 
      93 | 		test( 'Should report an unknown payment method', () => {
    > 94 | 			Dispatcher.handleServerAction( transactionPaymentSetActions.unrecognized );
         | 			           ^
      95 | 			expect( recordUnrecognizedPaymentMethod ).toHaveBeenCalled();
      96 | 		} );
      97 | 

      at Object.handleServerAction (client/lib/cart/store/test/index.js:94:15)

  ● Cart Store › Transaction Payment Set › Should report an unknown payment method parameters

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › Should report an unknown payment method parameters

    TypeError: Cannot read property 'handleServerAction' of undefined

       97 | 
       98 | 		test( 'Should report an unknown payment method parameters', () => {
    >  99 | 			Dispatcher.handleServerAction( transactionPaymentSetActions.unrecognized );
          | 			           ^
      100 | 			expect( recordUnrecognizedPaymentMethod ).toHaveBeenCalled();
      101 | 
      102 | 			const args = JSON.stringify( recordUnrecognizedPaymentMethod.mock.calls );

      at Object.handleServerAction (client/lib/cart/store/test/index.js:99:15)

  ● Cart Store › Transaction Payment Set › Should not report a known payment method

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › Should not report a known payment method

    TypeError: Cannot read property 'handleServerAction' of undefined

      106 | 
      107 | 		test( 'Should not report a known payment method', () => {
    > 108 | 			Dispatcher.handleServerAction( transactionPaymentSetActions.credits );
          | 			           ^
      109 | 			expect( recordUnrecognizedPaymentMethod ).not.toHaveBeenCalled();
      110 | 		} );
      111 | 

      at Object.handleServerAction (client/lib/cart/store/test/index.js:108:15)

  ● Cart Store › Transaction Payment Set › Should not ignore missing country code values

    isolateModules cannot be nested inside another isolateModules.

      49 | 
      50 | 	beforeEach( () => {
    > 51 | 		jest.isolateModules( () => {
         | 		     ^
      52 | 			CartStore = require( 'lib/cart/store' );
      53 | 			Dispatcher = require( 'dispatcher' );
      54 | 		} );

      at Runtime.isolateModules (node_modules/jest-runtime/build/index.js:619:13)
      at Object.isolateModules (client/lib/cart/store/test/index.js:51:8)

  ● Cart Store › Transaction Payment Set › Should not ignore missing country code values

    TypeError: Cannot read property 'handleServerAction' of undefined

      111 | 
      112 | 		test( 'Should not ignore missing country code values', () => {
    > 113 | 			Dispatcher.handleServerAction( transactionPaymentSetActions.creditCard );
          | 			           ^
      114 | 			expect( setTaxLocation ).toHaveBeenCalledWith(
      115 | 				expect.objectContaining( {
      116 | 					postalCode: '90014',

      at Object.handleServerAction (client/lib/cart/store/test/index.js:113:15)

Test Suites: 1 failed, 1 total
Tests:       12 failed, 12 total
Snapshots:   0 total
Time:        7.28s
Ran all test suites matching /client\/lib\/cart\/store\/test\/index.js/i.
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.js client/lib/user-settings/test/mocks/wp.js
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.js client/lib/user/test/utils.js
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
FAIL client/lib/user/test/utils.js
  ● Test suite failed to run

    TypeError: Cannot read property 'then' of undefined

      145 | 	debug( 'Getting user from api' );
      146 | 
    > 147 | 	me.get( { meta: 'flags', abtests: getActiveTestNames( { appendDatestamp: true, asCSV: true } ) } )
          | 	^
      148 | 		.then( data => {
      149 | 			const userData = filterUserObject( data );
      150 | 			this.handleFetchSuccess( userData );

      at User.Object.<anonymous>.User.fetch (client/lib/user/user.js:147:2)
      at User.fetch [as initialize] (client/lib/user/user.js:100:7)
      at new initialize (client/lib/user/user.js:40:7)
      at _default (client/lib/user/index.js:18:11)
      at Object.<anonymous> (client/lib/user/utils.js:18:14)
      at Object.<anonymous> (client/lib/user/test/utils.js:15:1)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        2.651s
Ran all test suites matching /client\/lib\/user\/test\/utils.js/i.
+ : '>>>>> End Test Output'
+ git checkout 4250bc3ebba1c9fe1cbf0e913723f1177985dca2 client/lib/cart/store/test/index.js client/lib/user-settings/test/mocks/wp.js client/lib/user/test/utils.js
Updated 3 paths from 5a63b1f724
