Skip to content

Commit 79110c8

Browse files
committed
Force GC
1 parent 7d31c92 commit 79110c8

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

test/api/write-generator/csharp.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ describe("C# Writer Generator", async () => {
2020
expect(files["generated/types/Helper.cs"]).toMatchSnapshot();
2121
});
2222
});
23+
24+
Bun.gc(true);

test/api/write-generator/introspection.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,5 @@ describe("IntrospectionWriter - StructureDefinition output", async () => {
150150
expect(files["generated/structure-definitions.ndjson"]).toMatchSnapshot();
151151
});
152152
});
153+
154+
Bun.gc(true);

test/api/write-generator/python.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ describe("Python Writer Generator", async () => {
4040
expect(basePy).toContain("T = TypeVar('T', bound=str, default=str)");
4141
});
4242
});
43+
44+
Bun.gc(true);

test/api/write-generator/typescript.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,5 @@ describe("TypeScript US Core Example", async () => {
171171
expect(files["generated/types/hl7-fhir-us-core/profiles/index.ts"]).toMatchSnapshot();
172172
});
173173
});
174+
175+
Bun.gc(true);

0 commit comments

Comments
 (0)