feat: Split ResourceStore config into 2 parts

This commit is contained in:
Joachim Van Herwegen
2021-07-15 14:41:58 +02:00
parent fdd6f853b6
commit ad7f4ed134
36 changed files with 153 additions and 220 deletions

View File

@@ -20,11 +20,11 @@ const baseUrl = `http://localhost:${port}/`;
const rootFilePath = getTestFolder('full-config-acl');
const stores: [string, any][] = [
[ 'in-memory storage', {
storeConfig: 'storage/resource-store/memory.json',
storeConfig: 'storage/backend/memory.json',
teardown: jest.fn(),
}],
[ 'on-disk storage', {
storeConfig: 'storage/resource-store/file.json',
storeConfig: 'storage/backend/file.json',
teardown: (): void => removeFolder(rootFilePath),
}],
];