Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Reland support for async ops in realms #17204

Merged
merged 17 commits into from
Jan 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Give names to the extensions in the tests
  • Loading branch information
andreubotella committed Jan 9, 2023
commit cf6215a805b9787dd79fed997410f0410383e3ad
6 changes: 4 additions & 2 deletions core/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4466,7 +4466,9 @@ Deno.core.ops.op_async_serialize_object_with_numbers_as_keys({
}

let mut runtime = JsRuntime::new(RuntimeOptions {
extensions: vec![Extension::builder().ops(vec![op_test::decl()]).build()],
extensions: vec![Extension::builder("test_ext")
.ops(vec![op_test::decl()])
.build()],
get_error_class_fn: Some(&|error| {
crate::error::get_custom_error_class(error).unwrap()
}),
Expand Down Expand Up @@ -4525,7 +4527,7 @@ Deno.core.ops.op_async_serialize_object_with_numbers_as_keys({
}

let mut runtime = JsRuntime::new(RuntimeOptions {
extensions: vec![Extension::builder()
extensions: vec![Extension::builder("test_ext")
.ops(vec![op_pending::decl()])
.build()],
..Default::default()
Expand Down