fix int and unit tests

This commit is contained in:
Adil Hafeez 2024-10-15 18:53:18 -07:00
parent 0e04b09f56
commit db202578d3
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ use std::collections::HashMap;
use std::path::Path;
fn wasm_module() -> String {
let wasm_file = Path::new("target/wasm32-wasi/release/intelligent_prompt_gateway.wasm");
let wasm_file = Path::new("target/wasm32-wasi/release/llm_gateway.wasm");
assert!(
wasm_file.exists(),
"Run `cargo build --release --target=wasm32-wasi` first"

View file

@ -17,7 +17,7 @@ use std::collections::HashMap;
use std::path::Path;
fn wasm_module() -> String {
let wasm_file = Path::new("target/wasm32-wasi/release/intelligent_prompt_gateway.wasm");
let wasm_file = Path::new("target/wasm32-wasi/release/prompt_gateway.wasm");
assert!(
wasm_file.exists(),
"Run `cargo build --release --target=wasm32-wasi` first"

View file

@ -226,7 +226,7 @@ mod test {
#[test]
fn test_deserialize_configuration() {
let ref_config =
fs::read_to_string("../docs/source/resources/includes/arch_config_full_reference.yaml")
fs::read_to_string("../../docs/source/resources/includes/arch_config_full_reference.yaml")
.expect("reference config file not found");
let config: super::Configuration = serde_yaml::from_str(&ref_config).unwrap();