diff --git a/test/integration-tests/basic.test.ts b/test/integration-tests/basic.test.ts index 7fe8fdf6..a1bd96de 100644 --- a/test/integration-tests/basic.test.ts +++ b/test/integration-tests/basic.test.ts @@ -94,7 +94,10 @@ describe("Integration Tests", function () { expect(basePath).to.equal("hello-world"); } finally { // should destroy the last created config folder ( import config ) - await utilities.destroyResources(`${testExportName} & ${testImportName}`); + await utilities.destroyResources(testImportName); + // temp dir are empty and we need to update it with export config for the proper clenup + await utilities.createTempDir(TEMP_DIR, configExportFolder); + await utilities.destroyResources(testExportName); } });