forked from extern/bruno
minor: clear expression cache before and after test
This commit is contained in:
parent
df4f322024
commit
a4f757ee87
@ -8,6 +8,7 @@ describe("utils", () => {
|
||||
}
|
||||
};
|
||||
|
||||
beforeEach(() => cache.clear());
|
||||
afterEach(() => cache.clear());
|
||||
|
||||
it("should evaluate expression", () => {
|
||||
@ -65,4 +66,4 @@ describe("utils", () => {
|
||||
expect(cache.get(expr).toString()).toContain("const { hello, res } = context;");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user