summaryrefslogtreecommitdiff
path: root/cli/js.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js.rs')
-rw-r--r--cli/js.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/cli/js.rs b/cli/js.rs
index 0db132bdb..85485689b 100644
--- a/cli/js.rs
+++ b/cli/js.rs
@@ -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();
- }
-}