Commit bb8f14cdaa9 for woocommerce
commit bb8f14cdaa9ea430d41ceba877a3ee69bd747360
Author: Chris Lilitsas <1105590+xristos3490@users.noreply.github.com>
Date: Tue Oct 13 18:48:02 2026 +0300
Fix the core profiler skip-flow test broken by #69613 and #69721 merging together (#69778)
* fix(core-profiler): stub skipFlowUpdateBusinessLocation with its return shape
#69721 made the actor resolve { storeLocationNotSaved } and the onDone
assign reads that field. The skip-flow test from #69613 still stubs the
actor with undefined, so the two broke each other once both merged to
trunk.
* chore: use a changelog comment instead of an entry
diff --git a/plugins/woocommerce/changelog/fix-core-profiler-skip-flow-test-mock b/plugins/woocommerce/changelog/fix-core-profiler-skip-flow-test-mock
new file mode 100644
index 00000000000..d82a5cdaa98
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-core-profiler-skip-flow-test-mock
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Fix a core profiler unit test stub; no production change.
diff --git a/plugins/woocommerce/client/admin/client/core-profiler/test/tracks.test.tsx b/plugins/woocommerce/client/admin/client/core-profiler/test/tracks.test.tsx
index ad2401aa9df..cd5c6c921a5 100644
--- a/plugins/woocommerce/client/admin/client/core-profiler/test/tracks.test.tsx
+++ b/plugins/woocommerce/client/admin/client/core-profiler/test/tracks.test.tsx
@@ -151,7 +151,9 @@ const defaultServicesOverrides: ServicesOverrides = {
updateOnboardingProfileOption: resolvedActor( undefined ),
updateProfilerCompletedSteps: resolvedActor( undefined ),
getCoreProfilerCompletedSteps: resolvedActor( {} ),
- skipFlowUpdateBusinessLocation: resolvedActor( undefined ),
+ skipFlowUpdateBusinessLocation: resolvedActor( {
+ storeLocationNotSaved: false,
+ } ),
};
const actionOverrides = {