diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-18 17:29:55 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-18 17:29:55 +0200 |
commit | d1a1b7dc947063aef5f8375a6a1e03246b272c84 (patch) | |
tree | f5cb9bd6d4b5463d9d022026ac6fea87cb6ebe02 /test/int | |
parent | 6ed078de30a7bf35deace728857d1d293d59eb15 (diff) |
Implemented caching for certain API endpoints, Added documentation & made backend-fixes
Diffstat (limited to 'test/int')
-rw-r--r-- | test/int/api.int.test.ts | 7 |
1 files changed, 5 insertions, 2 deletions
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); |