From 4378ef8e97839f950ddfa180e466d0a8db187681 Mon Sep 17 00:00:00 2001 From: dave caruso Date: Thu, 1 Jun 2023 17:37:35 -0400 Subject: mark currently known test fails as `.todo` (#3052) * start this * commit * mark all failing tests as todo * fasdfad * bundler tests * tests * adjust failing tests to todo * comment out some more tests * png as test --- test/snippets/segfault-todo.test.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/snippets/segfault-todo.test.js (limited to 'test/snippets/segfault-todo.test.js') diff --git a/test/snippets/segfault-todo.test.js b/test/snippets/segfault-todo.test.js new file mode 100644 index 000000000..169bc2c40 --- /dev/null +++ b/test/snippets/segfault-todo.test.js @@ -0,0 +1,14 @@ +// This file will segfault the test runner with BUN_GARBAGE_COLLECTOR_LEVEL=2 +import { expect, it, describe } from "bun:test"; + +it("TEST 1", () => {}); + +describe("DESC 1", () => {}); + +it.todo("TEST 2", () => { + expect(1).toBe(2); +}); + +it.todo("TEST 3", () => { + expect(1).toBe(2); // SEGFAULT HERE +}); -- cgit v1.2.3