[REF] utils: remove id generator

This commit is contained in:
Géry Debongnie
2019-04-25 16:44:48 +02:00
parent 8f7d06a5bd
commit cf47f8459a
3 changed files with 2 additions and 25 deletions
-10
View File
@@ -1,7 +1,6 @@
import {
escape,
htmlTrim,
idGenerator,
memoize,
debounce,
findInTree,
@@ -35,15 +34,6 @@ describe("htmlTrim", () => {
});
});
describe("idGenerator", () => {
test("basic use", () => {
let gen = idGenerator();
expect(gen()).toBe(1);
expect(gen()).toBe(2);
expect(gen()).toBe(3);
});
});
describe("memoize", () => {
test("return correct value", () => {
const f = memoize((a, b) => a + b);