mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
testing: Skip in-memory database test for serverless
This commit is contained in:
@@ -44,6 +44,10 @@ test.afterEach.always(async (t) => {
|
||||
});
|
||||
|
||||
test.serial("Open in-memory database", async (t) => {
|
||||
if (process.env.PROVIDER === "serverless") {
|
||||
t.pass("Skipping in-memory database test for serverless");
|
||||
return;
|
||||
}
|
||||
const [db] = await connect(":memory:");
|
||||
t.is(db.memory, true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user