@resolveio/server-lib 22.3.229 → 22.3.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1866,11 +1866,11 @@ function buildResolveIORunnerQaLiveDataSeederScript() {
|
|
|
1866
1866
|
'function shouldSeedBillingDashboardFixtures() {',
|
|
1867
1867
|
' const force = process.env.RESOLVEIO_QA_FORCE_BILLING_FIXTURES || process.env.RESOLVEIO_SUPPORT_QA_FORCE_BILLING_FIXTURES || process.env.RESOLVEIO_RUNNER_QA_FORCE_BILLING_FIXTURES || "";',
|
|
1868
1868
|
' if (/^(true|1|yes|on)$/i.test(force)) return true;',
|
|
1869
|
+
' if (shouldSeedPartInventorySnapshotContext()) return false;',
|
|
1869
1870
|
' if (shouldSeedPricingImportFixtures()) return false;',
|
|
1870
1871
|
' const explicit = process.env.RESOLVEIO_QA_INCLUDE_BILLING_FIXTURES || process.env.RESOLVEIO_SUPPORT_QA_INCLUDE_BILLING_FIXTURES || process.env.RESOLVEIO_RUNNER_QA_INCLUDE_BILLING_FIXTURES || "";',
|
|
1871
1872
|
' if (/^(true|1|yes|on)$/i.test(explicit)) return true;',
|
|
1872
1873
|
' if (/^(false|0|no|off)$/i.test(explicit)) return false;',
|
|
1873
|
-
' if (shouldSeedPartInventorySnapshotContext()) return false;',
|
|
1874
1874
|
' const text = readSeedHintText();',
|
|
1875
1875
|
' const billingSurface = /\\b(invoice|invoicing|billing|billable|tax|taxes|surcharge|checkout|check\\s*out|pick\\s*ticket)\\b/i.test(text);',
|
|
1876
1876
|
' if (billingSurface) return true;',
|