mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
The node tests have purged modules from cache that were included via things like set_global(), but calling require directly would leak modules into the next test, which made a couple tests only work when you ran the whole suite. I fixed those tests to work standalone. And then I now make dependencies explicitly clear the require cache before we require them in namespace.js.
2.1 KiB
2.1 KiB