noxid-cli 0.2.1

The Noxid compiler command line: check, build, test, adapt, and the agent surface
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::PathBuf;
use std::process::Command;

#[test]
fn drizzle_rows_cross_a_schema_validated_trust_boundary() {
    let root = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("../..");
    let output = Command::new("node")
        .args(["--test", "plugins/drizzle-orm/validated-rows.test.mjs"])
        .current_dir(&root)
        .output()
        .expect("node is required by the workspace test gate");
    assert!(
        output.status.success(),
        "validatedRows behavioral tests failed\nstdout:\n{}\nstderr:\n{}",
        String::from_utf8_lossy(&output.stdout),
        String::from_utf8_lossy(&output.stderr),
    );
}