+27
−56
Loading
In most of our node tests (jest and mocha), we need to rely on fixtures for the l10n modules because in its current shape, the module couldn't load the properties files properly. This patch fixes that by detecting if we're in a Node environment, and in such case load the file using `readFileSync`. We are also able to remove the specific code we had for webpack as it doesn't seem to be used anymore. The Spectrum.js file needed to be updated to fix the paths it was using. Differential Revision: https://phabricator.services.mozilla.com/D94568