Files
bun.sh/test/snippets/segfault-todo.test.js
dave caruso 4378ef8e97 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
2023-06-01 14:37:35 -07:00

15 lines
304 B
JavaScript

// 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
});