refactor: Remove RuntimeConfig in favor of config variables, Closes #106

This commit is contained in:
Ruben Taelman
2020-09-11 10:18:53 +02:00
committed by Joachim Van Herwegen
parent b1991cb08a
commit 1dd140ab61
25 changed files with 116 additions and 199 deletions

View File

@@ -1,6 +1,5 @@
import { Readable } from 'stream';
import streamifyArray from 'streamify-array';
import { RuntimeConfig } from '../../../src/init/RuntimeConfig';
import { Representation } from '../../../src/ldp/representation/Representation';
import { RepresentationMetadata } from '../../../src/ldp/representation/RepresentationMetadata';
import { InMemoryResourceStore } from '../../../src/storage/InMemoryResourceStore';
@@ -15,7 +14,7 @@ describe('A InMemoryResourceStore', (): void => {
const dataString = '<http://test.com/s> <http://test.com/p> <http://test.com/o>.';
beforeEach(async(): Promise<void> => {
store = new InMemoryResourceStore(new RuntimeConfig({ base }));
store = new InMemoryResourceStore(base);
representation = {
binary: true,