From 8487e0c4f4fad9e5d3ca4bf634b224cdb50168e0 Mon Sep 17 00:00:00 2001 From: Gordon Farquharson Date: Tue, 30 Jun 2026 10:23:35 +0100 Subject: [PATCH] fix integration test suite --- integration-tests/fastedge-assets.test.js | 4 +--- integration-tests/fastedge-build.test.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/integration-tests/fastedge-assets.test.js b/integration-tests/fastedge-assets.test.js index 16daf97..763a43b 100644 --- a/integration-tests/fastedge-assets.test.js +++ b/integration-tests/fastedge-assets.test.js @@ -1,6 +1,5 @@ import { readFileSync } from 'node:fs'; -import { dirname, join } from 'node:path'; -import { fileURLToPath } from 'node:url'; +import { join } from 'node:path'; import { prepareEnvironment } from '@gmrchk/cli-testing-library'; @@ -10,7 +9,6 @@ const helpInfo = USAGE_TEXT.split('\n') .filter(Boolean) .map((s) => s.trim()); -const __dirname = dirname(fileURLToPath(import.meta.url)); const packageJson = readFileSync(join(__dirname, '../package.json'), { encoding: 'utf-8', diff --git a/integration-tests/fastedge-build.test.js b/integration-tests/fastedge-build.test.js index 7ab11fe..d1bc8b4 100644 --- a/integration-tests/fastedge-build.test.js +++ b/integration-tests/fastedge-build.test.js @@ -1,7 +1,6 @@ import { spawnSync } from 'node:child_process'; import { readFileSync } from 'node:fs'; -import { dirname, join } from 'node:path'; -import { fileURLToPath } from 'node:url'; +import { join } from 'node:path'; import { prepareEnvironment } from '@gmrchk/cli-testing-library'; @@ -11,7 +10,6 @@ const helpInfo = USAGE_TEXT.split('\n') .filter(Boolean) .map((s) => s.trim()); -const __dirname = dirname(fileURLToPath(import.meta.url)); const packageJson = readFileSync(join(__dirname, '../package.json'), { encoding: 'utf-8',