MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / test_conn

Function test_conn

src/dashboard/util.rs:217–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215
216 #[allow(clippy::unwrap_used)]
217 async fn test_conn() -> Connection {
218 let db = libsql::Builder::new_local(":memory:")
219 .build()
220 .await
221 .unwrap();
222 db.connect().unwrap()
223 }
224
225 #[tokio::test]
226 #[allow(clippy::unwrap_used)]

Calls 2

buildMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected