mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Enable file locker in notification tests
This commit is contained in:
parent
d0e01472b9
commit
f419f2f28d
@ -5,7 +5,6 @@ import { createRemoteJWKSet, jwtVerify } from 'jose';
|
|||||||
import type { NamedNode } from 'n3';
|
import type { NamedNode } from 'n3';
|
||||||
import { DataFactory, Parser, Store } from 'n3';
|
import { DataFactory, Parser, Store } from 'n3';
|
||||||
import type { App } from '../../src/init/App';
|
import type { App } from '../../src/init/App';
|
||||||
|
|
||||||
import { matchesAuthorizationScheme } from '../../src/util/HeaderUtil';
|
import { matchesAuthorizationScheme } from '../../src/util/HeaderUtil';
|
||||||
import { joinUrl, trimTrailingSlashes } from '../../src/util/PathUtil';
|
import { joinUrl, trimTrailingSlashes } from '../../src/util/PathUtil';
|
||||||
import { readJsonStream } from '../../src/util/StreamUtil';
|
import { readJsonStream } from '../../src/util/StreamUtil';
|
||||||
@ -36,8 +35,7 @@ const stores: [string, any][] = [
|
|||||||
teardown: jest.fn(),
|
teardown: jest.fn(),
|
||||||
}],
|
}],
|
||||||
[ 'on-disk storage', {
|
[ 'on-disk storage', {
|
||||||
// Switch to file locker after https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1452
|
configs: [ 'storage/backend/file.json', 'util/resource-locker/file.json' ],
|
||||||
configs: [ 'storage/backend/file.json', 'util/resource-locker/memory.json' ],
|
|
||||||
teardown: async(): Promise<void> => removeFolder(rootFilePath),
|
teardown: async(): Promise<void> => removeFolder(rootFilePath),
|
||||||
}],
|
}],
|
||||||
];
|
];
|
||||||
|
@ -30,8 +30,7 @@ const stores: [string, any][] = [
|
|||||||
teardown: jest.fn(),
|
teardown: jest.fn(),
|
||||||
}],
|
}],
|
||||||
[ 'on-disk storage', {
|
[ 'on-disk storage', {
|
||||||
// Switch to file locker after https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1452
|
configs: [ 'storage/backend/file.json', 'util/resource-locker/file.json' ],
|
||||||
configs: [ 'storage/backend/file.json', 'util/resource-locker/memory.json' ],
|
|
||||||
teardown: async(): Promise<void> => removeFolder(rootFilePath),
|
teardown: async(): Promise<void> => removeFolder(rootFilePath),
|
||||||
}],
|
}],
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user