Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
reorganize some test files
Browse files Browse the repository at this point in the history
  • Loading branch information
kayahr committed Jun 13, 2024
1 parent e1e4141 commit f4d7ae6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/test/main/main.test.ts → src/test/main/gc.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
describe("Tests in main process", () => {
it("have no access to window object", () => {
expect(typeof window).toBe("undefined");
});
it("can access garbage collector (because enabled in this test environment)", () => {
expect(typeof gc).toBe("function");
});
Expand Down
5 changes: 5 additions & 0 deletions src/test/main/window.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe("Tests in main process", () => {
it("have no access to window object", () => {
expect(typeof window).toBe("undefined");
});
});

0 comments on commit f4d7ae6

Please sign in to comment.