Derived store reruns subscribers if it's value has not changed when synced. All invalidators of subscribers are run on a derived store when invalidated. See https://github.com/sveltejs/svelte/pull/2955
Use these tests sparingly, as they will need to be updated frequently as the code generation changes.