devtools/client/application/test/components/fixtures/PluralForm.js
deleted100644 → 0
+0
−11
Loading
- This creates a mock for fluent-l10n module, so we can use `l10n.getString()` in our code and test for it.
- This patch also removes unused files `test/fixtures/l10n.js` and `test/fixtures/PluralForm.js`
In order to double check the mock works, these two lines can be added to any test:
```
const { l10n } = require("devtools/client/application/src/modules/l10n");
expect(l10n.getString("foo")).toBe("foo");
```
Differential Revision: https://phabricator.services.mozilla.com/D43050
--HG--
rename : devtools/client/application/test/components/fixtures/l10n.js => devtools/client/application/test/components/fixtures/fluent-l10n.js
extra : moz-landing-system : lando