diff --git a/packages/astro/test/experimental-content-collection-references.nodetest.js b/packages/astro/test/experimental-content-collection-references.nodetest.js index 0d7ed88397..755aaaf054 100644 --- a/packages/astro/test/experimental-content-collection-references.nodetest.js +++ b/packages/astro/test/experimental-content-collection-references.nodetest.js @@ -13,7 +13,7 @@ describe('Experimental Content Collections cache - references', () => { }); }); - after(() => fixture.clean()); + after(async () => await fixture.clean()); const modes = ['dev', 'prod']; diff --git a/packages/astro/test/experimental-content-collections-css-inline-stylesheets.nodetest.js b/packages/astro/test/experimental-content-collections-css-inline-stylesheets.nodetest.js index aa4c5d133d..8126485c17 100644 --- a/packages/astro/test/experimental-content-collections-css-inline-stylesheets.nodetest.js +++ b/packages/astro/test/experimental-content-collections-css-inline-stylesheets.nodetest.js @@ -25,7 +25,7 @@ describe('Experimental Content Collections cache inlineStylesheets', () => { await fixture.build(); }); - after(() => fixture.clean()); + after(async () => await fixture.clean()); it('Does not render any