Files
tubestation/toolkit/components/nimbus
Beth Rennie f175e9c545 Bug 1945893 - Do not leak the ExperimentStore between tests r=nimbus-reviewers,emcminn,nanj
`ExperimentFakes.store()` now returns a store with a different path every
call. This prevents subsequent tests from accidentally using the same
store. Because of this change, we no longer need to delete the on-disk
store in the `assertEmptyStore()` utility, but we still should call it
at the end of every test because enrollments can set prefs which could
cause subsequent tests to fail.

The `browser_contentrelevancy_nimbus.js` test has been updated because it
was not doing any asserts outside of the one buried in FileTestUtils
for creating a temp file, which now only happens when you call
`ExperimentFakes.store()`

Differential Revision: https://phabricator.services.mozilla.com/D242797
2025-03-27 15:34:45 +00:00
..