mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Remove flatpickr controller test that isn't useful based on feedback
This commit is contained in:
@@ -31,12 +31,5 @@ describe("FlatpickrController", () => {
|
||||
expect(locale).toHaveProperty("weekAbbreviation");
|
||||
expect(locale.weekAbbreviation).toBe("Sem");
|
||||
});
|
||||
|
||||
it("caches the locale object for repeated calls", async () => {
|
||||
const controller = new FlatpickrController();
|
||||
const locale1 = await controller.importFlatpickrLocale("fr");
|
||||
const locale2 = await controller.importFlatpickrLocale("fr");
|
||||
expect(locale1).toBe(locale2);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user