Configure line-endings

This commit is contained in:
Andras Schmelczer 2025-03-22 12:01:27 +00:00
parent 087d38f570
commit d885646f39
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 24 additions and 17 deletions

View file

@ -19,14 +19,14 @@ export class MockClient implements FileSystemOperations {
public async init(
fetchImplementation: typeof globalThis.fetch
): Promise<void> {
this.client = await SyncClient.create(
this,
{
this.client = await SyncClient.create({
fs: this,
persistence: {
load: async () => this.data,
save: async (data) => void (this.data = data)
},
fetchImplementation
);
fetch: fetchImplementation
});
await Promise.all(
Object.keys(this.initialSettings).map(async (key) => {