storage/remote.test.ts
2021-06-22 16:10:17 +02:00

11 lines
359 B
TypeScript

import { basicCheck, describe, it, runTestServer } from "./testing.ts";
import { RestRemoteStorage } from "./remote.ts";
describe(RestRemoteStorage, () => {
it("communicates with the server", async () => {
await runTestServer(async (url) => {
const storage = new RestRemoteStorage("test", url);
await basicCheck(storage);
});
});
});