This package is a repro test case for an issue found using normalizr and lodash's mapValues
method in Safari.
After a varying amount of time attempting to normalize a schema with multiple entities in Safari and Mobile Safari (version 9.x) produces an issue in which the entities
returned by normalize
is an empty object.
npm install
npm run build
- Open
./index.html
in Safari - Allow Safari to run for a few minutes. After some time (note: 1-5 minutes), you should see a red message stating either
missing entities.tweets
ormissing entities.users
This package runs a simple schema normalization every 5 seconds over a Twitter home timeline JSON response. It includes entities tweets
and users
.
When the normalized output includes both tweets
and users
, the normalize step is considered a success.
When either tweets
or users
is missing from the response.entities
, the step is a failure.