Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Update cli.rs
Ilya0ae4ae4efe97
diff --git a/apps/cli/tests/cli.rs b/apps/cli/tests/cli.rsindex 8177fb7e0..3e7a3c8c8 100644--- a/apps/cli/tests/cli.rs+++ b/apps/cli/tests/cli.rs@@ -728,27 +728,6 @@ fn project_config_commands_reject_directories_without_recordings() {assert!(!project.join("project-config.json").exists());}-#[test]-fn project_config_commands_reject_directories_without_recordings() {- let dir = tempfile::tempdir().unwrap();- let project = dir.path().join("not-a-recording.cap");- std::fs::create_dir(&project).unwrap();-- for command in ["get", "set"] {- let mut args = vec!["project", "config", command, project.to_str().unwrap()];- if command == "set" {- args.extend(["--settings-json", "{}"]);- }- args.push("--json");-- let output = run(&args);- assert!(!output.status.success(), "{command} unexpectedly succeeded");- assert!(parse_json(&output)["error"].is_string());- }-- assert!(!project.join("project-config.json").exists());-}-#[test]fn export_missing_project_emits_json_error_event() {let output = run(&["export", "/this/path/does/not/exist.cap", "--progress-json"]);