diff options
Diffstat (limited to '')
-rw-r--r-- | packages/astro/test/static-build-dir.test.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/astro/test/static-build-dir.test.js b/packages/astro/test/static-build-dir.test.js index d6a8c90c3..d09756af2 100644 --- a/packages/astro/test/static-build-dir.test.js +++ b/packages/astro/test/static-build-dir.test.js @@ -4,8 +4,6 @@ import { loadFixture } from './test-utils.js'; describe('Static build: dir takes the URL path to the output directory', () => { /** @type {URL} */ let checkDir; - /** @type {URL} */ - let checkGeneratedDir; before(async () => { const fixture = await loadFixture({ root: './fixtures/static-build-dir/', @@ -13,9 +11,6 @@ describe('Static build: dir takes the URL path to the output directory', () => { { name: '@astrojs/dir', hooks: { - 'astro:build:generated': ({ dir }) => { - checkGeneratedDir = dir; - }, 'astro:build:done': ({ dir }) => { checkDir = dir; }, @@ -30,6 +25,5 @@ describe('Static build: dir takes the URL path to the output directory', () => { expect(removeTrailingSlash(checkDir.toString())).to.be.equal( removeTrailingSlash(new URL('./fixtures/static-build-dir/dist', import.meta.url).toString()) ); - expect(checkDir.toString()).to.be.equal(checkGeneratedDir.toString()); }); }); |