No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /testbed
  6704 files checked.
  testMatch: /testbed/client/**/test/*.js?(x), !**/.eslintrc.* - 1434 matches
  testPathIgnorePatterns: /node_modules/ - 6704 matches
  testRegex:  - 0 matches
Pattern: client/signup/test/fixtures/flows.js - 0 matches
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout c04808de96782fb03d59914beff43e9bb1784b69 client/signup/test/fixtures/flows.js client/signup/test/utils.js
Updated 0 paths from 6034f765b5
+ git apply --verbose --reject -
Checking patch client/signup/test/fixtures/flows.js...
Checking patch client/signup/test/utils.js...
Applied patch client/signup/test/fixtures/flows.js cleanly.
Applied patch client/signup/test/utils.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.js client/signup/test/fixtures/flows.js
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.js client/signup/test/utils.js
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
FAIL client/signup/test/utils.js (9.331s)
  utils
    getLocale
      ✓ should find the locale anywhere in the params (3ms)
      ✓ should return undefined if no locale is present in the params
    getStepName
      ✓ should find the step name in either the stepName or flowName fragment
      ✓ should return undefined if no step name is found (1ms)
    getFlowName
      ✓ should find the flow name in the flowName fragment if present (1ms)
      ✓ should return the default flow if the flow is missing
      ✓ should return the result of filterFlowName if it is a function and the flow is missing
      ✓ should return the result of filterFlowName if it is a function and the flow is not valid
      ✓ should return the result of filterFlowName if it is a function and the requested flow is present (1ms)
      ✓ should return the passed flow if the result of filterFlowName is not valid
      ✓ should call filterFlowName with the default flow if it is a function and the flow is not valid (2ms)
      ✓ should call filterFlowName with the requested flow if it is a function and the flow is valid (1ms)
    getValidPath
      ✓ should redirect to the default if no flow is present (1ms)
      ✓ should redirect to the current flow default if no step is present
      ✓ should redirect to the default flow if the flow is the default
      ✓ should redirect invalid steps to the default flow if no flow is present (1ms)
      ✓ should preserve a valid locale to the default flow if one is specified
      ✓ should redirect invalid steps to the current flow default (1ms)
      ✓ should preserve a valid locale if one is specified
      ✓ should handle arbitrary step section names
      ✓ should handle arbitrary step section names in the default flow
    getValueFromProgressStore
      ✓ should return the value of the field if it exists (1ms)
      ✓ should return null if the field is not present
    getCompletedSteps
      ✓ step names should match steps of a particular flow given progress with mixed flows (3ms)
      ✕ should not match steps of a flow given progress with mixed flows and `shouldMatchFlowName` flag (4ms)
      ✓ should match steps of a flow given progress with single flow and `shouldMatchFlowName` flag (1ms)
    canResumeFlow
      ✓ should return true when given flow matches progress state (1ms)
      ✕ should return false when given flow does not match progress state (1ms)
      ✓ should return false when flow sets disallowResume
      ✓ should return false when progress state is empty (1ms)

  ● utils › getCompletedSteps › should not match steps of a flow given progress with mixed flows and `shouldMatchFlowName` flag

    expect(received).not.toStrictEqual(expected) // deep equality

    Expected: not ["user", "site-type", "site-topic", "site-title", "domains", "plans"]

      255 | 			const stepNames = completedSteps.map( step => step.stepName );
      256 | 
    > 257 | 			expect( stepNames ).not.toStrictEqual( flows.getFlow( 'onboarding-blog' ).steps );
          | 			                        ^
      258 | 			expect( completedSteps ).toStrictEqual( filteredOnboardingBlogSteps );
      259 | 		} );
      260 | 

      at Object.toStrictEqual (client/signup/test/utils.js:257:28)

  ● utils › canResumeFlow › should return false when given flow does not match progress state

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

    Expected: false
    Received: true

      282 | 			const canResume = canResumeFlow( 'onboarding-blog', signupProgress );
      283 | 
    > 284 | 			expect( canResume ).toBe( false );
          | 			                    ^
      285 | 		} );
      286 | 
      287 | 		test( 'should return false when flow sets disallowResume', () => {

      at Object.toBe (client/signup/test/utils.js:284:24)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 28 passed, 30 total
Snapshots:   0 total
Time:        10.529s
Ran all test suites matching /client\/signup\/test\/utils.js/i.
+ : '>>>>> End Test Output'
+ git checkout c04808de96782fb03d59914beff43e9bb1784b69 client/signup/test/fixtures/flows.js client/signup/test/utils.js
Updated 2 paths from 6034f765b5
