Update test
This commit is contained in:
parent
e493b98a24
commit
dc31afd907
1 changed files with 59 additions and 27 deletions
|
|
@ -4,7 +4,6 @@ import type {
|
|||
SyncSettings
|
||||
} from "sync-client";
|
||||
import { SyncClient } from "sync-client";
|
||||
import { assert } from "../utils/assert";
|
||||
|
||||
export class MockClient implements FileSystemOperations {
|
||||
protected readonly localFiles = new Map<string, Uint8Array>();
|
||||
|
|
@ -29,11 +28,6 @@ export class MockClient implements FileSystemOperations {
|
|||
);
|
||||
})
|
||||
);
|
||||
|
||||
assert(
|
||||
(await this.client.checkConnection()).isSuccessful,
|
||||
"Connection check failed"
|
||||
);
|
||||
}
|
||||
|
||||
public async listAllFiles(): Promise<RelativePath[]> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue