Elysia Tools
Navigation
Developer Tools
FullStory: offline synthetic exercises
Inspect three finite fixtures: Deny-by-default preview gate, Field allowlist, Expiry boundary.
Samples
Entries inside this sample collection
Deny-by-default preview gate
Evaluate the three consent/localPreview pairs using strict Boolean equality. Keep collectionEnabled and exportEnabled false.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "preview-gate",
"rule": "previewAllowed = consent === true AND localPreview === true; collection and export always disabled",
"input": [
{
"consent": false,
"localPreview": true
},
{
"localPreview": true
},
{
"consent": true,
"localPreview": true
}
],
"collectionEnabled": false,
"exportEnabled": false,
"expected": [
false,
false,
true
]
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Field allowlist
Keep only the count key from the synthetic object; do not copy freeText or route.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "allowlist",
"allow": [
"count"
],
"input": {
"count": 3,
"freeText": "synthetic text",
"route": "synthetic label"
},
"expected": {
"count": 3
}
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Expiry boundary
For TTL 10, retain only ages strictly below 10; inspect ages 0, 9, 10 and 11.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "expiry",
"ttl": 10,
"ages": [
0,
9,
10,
11
],
"rule": "retain only when age < ttl; relative toy units",
"expected": [
0,
1
]
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Tools
Tools frequently paired with this sample
Related
Related sample collections
Related