From d1a1b7dc947063aef5f8375a6a1e03246b272c84 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 18 Aug 2021 17:29:55 +0200 Subject: Implemented caching for certain API endpoints, Added documentation & made backend-fixes --- test/int/api.int.test.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/int/api.int.test.ts') diff --git a/test/int/api.int.test.ts b/test/int/api.int.test.ts index e1392d6..ae2804e 100644 --- a/test/int/api.int.test.ts +++ b/test/int/api.int.test.ts @@ -16,16 +16,19 @@ describe("API", () => { let app: FastifyInstance; beforeAll(async() => { - app = buildApp({ + app = await buildApp({ host: host, port: port, title: "Bob's cool projects", about: "All of my personal projects. Completely FOSS.", git_dir: env.GIT_DIR, + cache: { + enabled: false + }, dev: { port: 0 } - }); + }, null); await app.listen(port); -- cgit v1.2.3-18-g5258