Skip to content

Commit 08a0d35

Browse files
committed
remove dupe test
1 parent 068aea0 commit 08a0d35

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/lib/RequestStore.test.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -211,21 +211,3 @@ it("parameterisation works after export and import", () => {
211211
// @ts-expect-error accessing private property
212212
expect(store.leafMap).toEqual(expected);
213213
});
214-
215-
it("parameterisation works after export and import", () => {
216-
const store = new RequestStore();
217-
const req = createSimpleRequest(`${base}/1/2/a`);
218-
store.insert(req, { foo: 1 });
219-
store.parameterise(2, "/1/2/a", host);
220-
const exported = store.export();
221-
store.clear();
222-
store.import(exported);
223-
store.insert(req, { foo: 1 });
224-
const expected = {
225-
[host]: {
226-
'/1/2/:param2': expect.any(Object),
227-
}
228-
};
229-
// @ts-expect-error accessing private property
230-
expect(store.leafMap).toEqual(expected);
231-
});

0 commit comments

Comments
 (0)