|
@@ -4,15 +4,12 @@ var tape = require("tape"),
|
4
|
4
|
queue = require("d3").queue,
|
5
|
5
|
request = require("supertest");
|
6
|
6
|
|
7
|
|
-var fonts = require("../lib/settings/").fonts;
|
8
|
|
-
|
9
|
|
-var serverSettings = require("./patch-settings")({
|
10
|
|
- workingDirectory: path.join(__dirname, "tmp", "working"),
|
11
|
|
- maxUploadSize: 100000,
|
12
|
|
- storagePath: path.join(__dirname, "tmp", "storage"),
|
13
|
|
- worker: true,
|
14
|
|
- fonts: fonts
|
15
|
|
-});
|
|
7
|
+var serverSettings = require("../lib/settings/");
|
|
8
|
+
|
|
9
|
+serverSettings.workingDirectory = path.join(__dirname, "tmp", "working");
|
|
10
|
+serverSettings.storagePath = path.join(__dirname, "tmp", "storage");
|
|
11
|
+serverSettings.maxUploadSize = 100000;
|
|
12
|
+serverSettings.worker = true;
|
16
|
13
|
|
17
|
14
|
var server = require("../server");
|
18
|
15
|
|