summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/app.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/app.test.js b/test/app.test.js
index a3f06a1..196041a 100644
--- a/test/app.test.js
+++ b/test/app.test.js
@@ -7,11 +7,11 @@ const cheerio = require("cheerio");
 const mf = require("microformat-node");
 
 process.chdir(path.resolve(__dirname, "./testsite/"));
-const config = require(path.resolve(__dirname, "../src/modules/config.js"));
+const getConfig = require(path.resolve(__dirname, "../src/modules/config.js"));
 
 const App = require("../src/app.js");
 let app;
-test.before(async t => (app = await App()));
+test.before(async t => (app = await App(getConfig("./testsite/config.toml"))));
 
 const parseResponse = res =>
   cheerio.load(res.text, {