MCPcopy Create free account
hub / github.com/endbasic/endbasic / test_webdrive_delete_missing_file

Function test_webdrive_delete_missing_file

web/src/store.rs:404–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

402
403 #[wasm_bindgen_test]
404 async fn test_webdrive_delete_missing_file() {
405 let mut webdrive = WebDrive::from_window();
406 webdrive.storage.clear().unwrap();
407
408 assert_eq!(
409 "File not found",
410 format!("{}", webdrive.delete("first.bas").await.unwrap_err())
411 );
412 }
413
414 #[wasm_bindgen_test]
415 async fn test_webdrive_enumerate() {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected