diff options
author | 2023-06-01 17:37:35 -0400 | |
---|---|---|
committer | 2023-06-01 14:37:35 -0700 | |
commit | 4378ef8e97839f950ddfa180e466d0a8db187681 (patch) | |
tree | 2d99f2bbdd7cd38c0194fe4034f02945e37afb65 /test/snippets/segfault-todo.test.js | |
parent | 2c1694f63bc4eb279aa708f216037d2e6204eaf1 (diff) | |
download | bun-4378ef8e97839f950ddfa180e466d0a8db187681.tar.gz bun-4378ef8e97839f950ddfa180e466d0a8db187681.tar.zst bun-4378ef8e97839f950ddfa180e466d0a8db187681.zip |
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
Diffstat (limited to 'test/snippets/segfault-todo.test.js')
-rw-r--r-- | test/snippets/segfault-todo.test.js | 14 |
1 files changed, 14 insertions, 0 deletions
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 +}); |