Skip to content

Commit c825fc8

Browse files
committed
Fix tests
1 parent 045df4f commit c825fc8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/jetpack-connect/test/__snapshots__/authorize.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ exports[`JetpackAuthorize renders as expected 1`] = `
4343
</div>
4444
</div>
4545
<div
46-
class="jetpack-connect__authorize-form"
46+
class="jetpack-connect__authorize-form feature-flag-woocommerce-core-profiler-passwordless-auth"
4747
>
4848
<div
4949
class="jetpack-connect__logged-in-form"

client/state/selectors/test/is-woocommerce-core-profiler-flow.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import isWooCommerceCoreProfilerFlow from 'calypso/state/selectors/is-woocommerce-core-profiler-flow';
22

33
describe( 'isWooCommerceCoreProfilerFlow', () => {
4-
test( 'should return false when no argument', () => {
5-
expect( isWooCommerceCoreProfilerFlow() ).toBe( false );
4+
test( 'should return false when state is empty', () => {
5+
expect( isWooCommerceCoreProfilerFlow( {} ) ).toBe( false );
66
} );
77

88
test( 'should return false if no query present', () => {

0 commit comments

Comments
 (0)