diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-03-05 19:11:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 19:11:33 -0700 |
commit | ace25161c7cbd6e42df82fe8f918efcb8eace9ac (patch) | |
tree | f4bc6582dfb31c563dc7b20cebf8741ac3a912bb | |
parent | 3eaf174bfc64b7c277899abd44ae3877538028df (diff) |
chore(cli): remove problematic snapshot test (#22722)
This test crashes often on windows.
-rw-r--r-- | cli/js.rs | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -17,26 +17,3 @@ pub fn deno_isolate_init() -> Option<&'static [u8]> { None } } - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn runtime_snapshot() { - let mut js_runtime = deno_core::JsRuntime::new(deno_core::RuntimeOptions { - startup_snapshot: deno_isolate_init(), - ..Default::default() - }); - js_runtime - .execute_script( - "<anon>", - r#" - if (!(bootstrap.mainRuntime && bootstrap.workerRuntime)) { - throw Error("bad"); - } - "#, - ) - .unwrap(); - } -} |