Adds 100% test coverage to the web-embed-api project.
Also changes setting the origin from setting a localStorage flag, to being a parameter. This way our beta / staging / local development can just correctly point to where Formsort flow is running rather than depend on the developer to set and unset a flag, which is prone to forgetting.
Adds 100% test coverage to the
web-embed-api
project.Also changes setting the origin from setting a localStorage flag, to being a parameter. This way our beta / staging / local development can just correctly point to where Formsort flow is running rather than depend on the developer to set and unset a flag, which is prone to forgetting.