storage/remote.test.ts

12 lines
359 B
TypeScript
Raw Permalink Normal View History

2021-06-21 22:05:08 +00:00
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);
});
});
});