feat: support querying missing nodes
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
parent
cd94dbd57f
commit
495fe2a6c5
5 changed files with 190 additions and 7 deletions
|
|
@ -122,8 +122,15 @@ pub fn run_wasm() -> Result<()> {
|
|||
bail_on_err(&output, "Failed to install test dependencies")?;
|
||||
}
|
||||
|
||||
let output = Command::new(npm).arg("test").output()?;
|
||||
bail_on_err(&output, &format!("Failed to run {npm} test"))?;
|
||||
let child = Command::new(npm).arg("test").spawn()?;
|
||||
let output = child.wait_with_output()?;
|
||||
bail_on_err(&output, &format!("Failed to run `{npm} test`"))?;
|
||||
|
||||
// Display test results
|
||||
let output = String::from_utf8_lossy(&output.stdout);
|
||||
for line in output.lines() {
|
||||
println!("{line}");
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue