Skip to content

Commit 16021d7

Browse files
authored
More tolerance on memory leak tests (#137)
* More tolerance on Raw cell addition * More robust file-editor
1 parent 4ce5000 commit 16021d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

memory-leaks/tests/cell.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe("# Cell memory leaks", () => {
1111
// Markdown cell
1212
{ leak: null, objects: 867, collections: 28 },
1313
// Raw cell
14-
{ leak: true, objects: 673, collections: 28 },
14+
{ leak: true, objects: 706, collections: 28 },
1515
],
1616
});
1717
});

memory-leaks/tests/file-editor.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import * as scenario from "./file-editor.mjs";
33

44
describe("# File editor memory leaks", () => {
55
it("Opening a text file", async () => {
6-
await testScenario(scenario, { expectations: [{ objects: 648, collections: 4 }] });
6+
await testScenario(scenario, { expectations: [{ objects: 654, collections: 4 }] });
77
});
88
});

0 commit comments

Comments
 (0)