aboutsummaryrefslogtreecommitdiff
path: root/test/js/third_party/es-module-lexer/README.md
blob: c3575ac85dc29fc51a97cbe066cf06343273d9a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## es-module-lexer test

The purpose of this test is to check that event loop tasks scheduled from
JavaScriptCore (rather than Bun) keep the process alive.

The problem used to be that Bun may close prematurely when async work was
scheduled by JavaScriptCore (rather than IO work).

At the time of writing, that list is:

- WebAssembly compilation
- Atomics

FinalizationRegistry is also scheduled by JSC, but that doesn't need to keep the process alive.
>Add test for Bun.hash that runs it with a Uint8ArrayGravatar Jarred Sumner 1-8/+16