mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
Move JSON ops to deno_core (#7336)
This commit is contained in:
parent
849431eb1d
commit
c821e8f2f1
78 changed files with 1492 additions and 2204 deletions
|
@ -31,6 +31,7 @@ fn get_path(file_name: &str) -> PathBuf {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use deno_core::js_check;
|
||||
use deno_core::BasicState;
|
||||
use deno_core::CoreIsolate;
|
||||
use deno_core::StartupData;
|
||||
use futures::future::lazy;
|
||||
|
@ -46,7 +47,8 @@ mod tests {
|
|||
}
|
||||
|
||||
fn setup() -> CoreIsolate {
|
||||
let mut isolate = CoreIsolate::new(StartupData::None, false);
|
||||
let mut isolate =
|
||||
CoreIsolate::new(BasicState::new(), StartupData::None, false);
|
||||
crate::init(&mut isolate);
|
||||
isolate
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue