mirror of
https://github.com/unjs/unstorage.git
synced 2025-12-08 21:26:09 +00:00
18 lines
522 B
TypeScript
18 lines
522 B
TypeScript
import { describe } from "vitest";
|
|
import { testDriver } from "./utils.ts";
|
|
import vercelBlobDriver from "../../src/drivers/vercel-blob.ts";
|
|
|
|
const token = process.env.VITE_VERCEL_BLOB_READ_WRITE_TOKEN;
|
|
|
|
describe.skipIf(!token)("drivers: vercel-blob", async () => {
|
|
process.env.VERCEL_TEST_READ_WRITE_TOKEN = token;
|
|
testDriver({
|
|
driver: () =>
|
|
vercelBlobDriver({
|
|
access: "public",
|
|
base: Math.round(Math.random() * 1_000_000).toString(16),
|
|
envPrefix: "VERCEL_TEST",
|
|
}),
|
|
});
|
|
});
|