mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 11:51:30 +00:00
minor: clear expression cache before and after test
This commit is contained in:
@@ -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;");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user