Merge branch 'main' into versions/next-major

This commit is contained in:
Joachim Van Herwegen 2023-10-06 08:11:21 +02:00
commit b0d7342b39
4 changed files with 10 additions and 10 deletions

View File

@ -40,6 +40,7 @@ module.exports = {
],
testEnvironment: 'node',
globalSetup: '<rootDir>/test/util/SetupTests.ts',
globalTeardown: '<rootDir>/test/util/TeardownTests.ts',
setupFilesAfterEnv: [ 'jest-rdf' ],
collectCoverage: false,
// See https://github.com/matthieubosquet/ts-dpop/issues/13

View File

@ -8,14 +8,6 @@
"rdf",
"ldp"
],
"contributors": [
"Joachim Van Herwegen <joachim.vanherwegen@ugent.be>",
"Thomas Dupont <thomas.dupont@ugent.be>",
"Wannes Kerckhove <wannes.kerckhove@ugent.be>",
"Jasper Vaneessen <jasper.vaneessen@ugent.be>",
"Ruben Taelman <ruben.taelman@ugent.be> (https://www.rubensworks.net/)",
"Ruben Verborgh <ruben.verborgh@ugent.be> (https://ruben.verborgh.org/)"
],
"license": "MIT",
"engines": {
"node": ">=18.0"

View File

@ -93,7 +93,7 @@ describe('A quota server', (): void => {
});
afterAll(async(): Promise<void> => {
await removeFolder(rootFilePath);
// Not cleaning up `rootFilePath` as this intermittently causes issues during CI
await app.stop();
});
@ -178,7 +178,7 @@ describe('A quota server', (): void => {
});
afterAll(async(): Promise<void> => {
await removeFolder(rootFilePath);
// Not cleaning up `rootFilePath` as this intermittently causes issues during CI
await app.stop();
});

View File

@ -0,0 +1,7 @@
import { getTestFolder, removeFolder } from '../integration/Config';
// Jest global teardown requires a single function to be exported
export default async function(): Promise<void> {
// Clean up the root test folder
await removeFolder(getTestFolder(''));
}