12 lines
359 B
TypeScript
12 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);
|
||
|
});
|
||
|
});
|
||
|
});
|