mirror of
https://github.com/unjs/unstorage.git
synced 2025-12-08 21:26:09 +00:00
15 lines
429 B
TypeScript
15 lines
429 B
TypeScript
import { describe } from "vitest";
|
|
import driver from "../../src/drivers/uploadthing.ts";
|
|
import { testDriver } from "./utils.ts";
|
|
|
|
const utfsToken = process.env.VITE_UPLOADTHING_TOKEN;
|
|
|
|
describe.skipIf(!utfsToken)("drivers: uploadthing", { timeout: 30e3 }, () => {
|
|
process.env.UPLOADTHING_TOKEN = utfsToken;
|
|
testDriver({
|
|
driver: driver({
|
|
base: Math.round(Math.random() * 1_000_000).toString(16),
|
|
}),
|
|
});
|
|
});
|