mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
6e8618ae0f
Stores the test/bench functions in rust op state during registration. The functions are wrapped in JS first so that they return a directly convertible `TestResult`/`BenchResult`. Test steps are still mostly handled in JS since they are pretty much invoked by the user. Allows removing a bunch of infrastructure for communicating between JS and rust. Allows using rust utilities for things like shuffling tests (`Vec::shuffle`). We can progressively move op and resource sanitization to rust as well. Fixes #17122. Fixes #17312.
4 lines
85 B
Text
4 lines
85 B
Text
Check [WILDCARD]/test/doc_only/mod.ts$2-5.ts
|
|
|
|
ok | 0 passed | 0 failed ([WILDCARD])
|
|
|