No tests found
In /testbed
  5725 files checked.
  testMatch: /testbed/client/**/test/*.js?(x) - 1209 matches
  testPathIgnorePatterns: /node_modules/ - 5725 matches
Pattern: client/lib/purchases/test/data/index.js - 0 matches
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 2a551f4bca5cc25baa9d2ac5cf5b2684ef4ee98c client/lib/purchases/test/data/index.js client/lib/purchases/test/index.js
Updated 0 paths from f264c2d63
+ git apply --verbose --reject -
Checking patch client/lib/purchases/test/data/index.js...
Checking patch client/lib/purchases/test/index.js...
Applied patch client/lib/purchases/test/data/index.js cleanly.
Applied patch client/lib/purchases/test/index.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/lib/purchases/test/data/index.js
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/lib/purchases/test/index.js
FAIL client/lib/purchases/test/index.js
  index
    #isRemovable
      ✓ should not be removable when domain registration purchase is not expired (2ms)
      ✓ should not be removable when domain mapping purchase is not expired
      ✓ should not be removable when site redirect purchase is not expired
      ✓ should be removable when domain registration purchase is expired
      ✓ should be removable when domain mapping purchase is expired
      ✓ should be removable when site redirect purchase is expired
    #isCancelable
      ✓ should not be cancelable when the purchase is included in a plan
      ✓ should not be cancelable when the purchase is expired
      ✓ should be cancelable when the purchase is refundable
      ✓ should be cancelable when the purchase can have auto-renew disabled
      ✓ should not be cancelable if domain is pending transfer
    #isPaidWithCredits
      ✕ should be true when paid with credits (5ms)
      ✕ should false when not paid with credits (1ms)
      ✕ should be false when payment not set on purchase
    #subscribedWithinPastWeek
      ✕ should return false when no subscribed date
      ✕ should return false when subscribed more than 1 week ago (2ms)
      ✕ should return true when subscribed less than 1 week ago (1ms)

  ● index › #isPaidWithCredits › should be true when paid with credits

    TypeError: (0 , _index.isPaidWithCredits) is not a function

      75 | 	describe( '#isPaidWithCredits', () => {
      76 | 		test( 'should be true when paid with credits', () => {
    > 77 | 			expect( isPaidWithCredits( PLAN_PURCHASE_WITH_CREDITS ) ).to.be.true;
      78 | 		} );
      79 | 		test( 'should false when not paid with credits', () => {
      80 | 			expect( isPaidWithCredits( PLAN_PURCHASE_WITH_PAYPAL ) ).to.be.false;
      
      at Object.<anonymous> (client/lib/purchases/test/index.js:77:12)

  ● index › #isPaidWithCredits › should false when not paid with credits

    TypeError: (0 , _index.isPaidWithCredits) is not a function

      78 | 		} );
      79 | 		test( 'should false when not paid with credits', () => {
    > 80 | 			expect( isPaidWithCredits( PLAN_PURCHASE_WITH_PAYPAL ) ).to.be.false;
      81 | 		} );
      82 | 		test( 'should be false when payment not set on purchase', () => {
      83 | 			expect( isPaidWithCredits( {} ) ).to.be.false;
      
      at Object.<anonymous> (client/lib/purchases/test/index.js:80:12)

  ● index › #isPaidWithCredits › should be false when payment not set on purchase

    TypeError: (0 , _index.isPaidWithCredits) is not a function

      81 | 		} );
      82 | 		test( 'should be false when payment not set on purchase', () => {
    > 83 | 			expect( isPaidWithCredits( {} ) ).to.be.false;
      84 | 		} );
      85 | 	} );
      86 | 	describe( '#subscribedWithinPastWeek', () => {
      
      at Object.<anonymous> (client/lib/purchases/test/index.js:83:12)

  ● index › #subscribedWithinPastWeek › should return false when no subscribed date

    TypeError: (0 , _index.subscribedWithinPastWeek) is not a function

      86 | 	describe( '#subscribedWithinPastWeek', () => {
      87 | 		test( 'should return false when no subscribed date', () => {
    > 88 | 			expect( subscribedWithinPastWeek( {} ) ).to.be.false;
      89 | 		} );
      90 | 		test( 'should return false when subscribed more than 1 week ago', () => {
      91 | 			expect(
      
      at Object.<anonymous> (client/lib/purchases/test/index.js:88:12)

  ● index › #subscribedWithinPastWeek › should return false when subscribed more than 1 week ago

    TypeError: (0 , _index.subscribedWithinPastWeek) is not a function

      90 | 		test( 'should return false when subscribed more than 1 week ago', () => {
      91 | 			expect(
    > 92 | 				subscribedWithinPastWeek( {
      93 | 					subscribedDate: moment()
      94 | 						.subtract( 8, 'days' )
      95 | 						.format(),
      
      at Object.<anonymous> (client/lib/purchases/test/index.js:92:5)

  ● index › #subscribedWithinPastWeek › should return true when subscribed less than 1 week ago

    TypeError: (0 , _index.subscribedWithinPastWeek) is not a function

       99 | 		test( 'should return true when subscribed less than 1 week ago', () => {
      100 | 			expect(
    > 101 | 				subscribedWithinPastWeek( {
      102 | 					subscribedDate: moment()
      103 | 						.subtract( 3, 'days' )
      104 | 						.format(),
      
      at Object.<anonymous> (client/lib/purchases/test/index.js:101:5)

Test Suites: 1 failed, 1 total
Tests:       6 failed, 11 passed, 17 total
Snapshots:   0 total
Time:        1.549s
Ran all test suites matching /client\/lib\/purchases\/test\/index.js/i.
+ : '>>>>> End Test Output'
+ git checkout 2a551f4bca5cc25baa9d2ac5cf5b2684ef4ee98c client/lib/purchases/test/data/index.js client/lib/purchases/test/index.js
Updated 2 paths from f264c2d63
