You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a contract-based config spec using the same production helpers that
2682
+
// fetch-extension-specifications.ts uses, so this test stays in sync with the real wiring.
2683
+
constvalidationSchema={
2684
+
jsonSchema:
2685
+
'{"type":"object","additionalProperties":false,"properties":{"bundles":{"type":"boolean","description":"Whether the app supports purchase options on bundle products"}}}',
'{"type":"object","additionalProperties":false,"properties":{"bundles":{"type":"boolean","description":"Whether the app supports purchase options on bundle products"}}}',
166
+
},
167
+
}
168
+
169
+
// When: The parser receives a full app config where "purchase_options" is a nested section
'{"type":"object","additionalProperties":false,"properties":{"bundles":{"type":"boolean","description":"Whether the app supports purchase options on bundle products"}}}',
193
+
},
194
+
}
195
+
196
+
// When: The config does NOT contain "purchase_options"
0 commit comments