Skip to content

Commit 2a89b01

Browse files
Update integrationTests/resources/custom-resources.test.ts
Co-authored-by: Ethan Arrowood <ethan@arrowood.dev>
1 parent 02b92cc commit 2a89b01

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

integrationTests/resources/custom-resources.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
import { suite, test, before, after } from 'node:test';
1818
import { strictEqual, ok, deepStrictEqual } from 'node:assert/strict';
1919
import { resolve } from 'node:path';
20-
import { fileURLToPath } from 'node:url';
2120
import { setupHarperWithFixture, teardownHarper } from '@harperfast/integration-testing';
2221
import { createApiClient } from '../apiTests/utils/client.mjs';
2322

24-
const __dirname = fileURLToPath(new URL('.', import.meta.url));
25-
const FIXTURE_PATH = resolve(__dirname, '../fixtures/custom-resources');
23+
const FIXTURE_PATH = resolve(import.meta.dirname, '../fixtures/custom-resources');
2624

2725
// ---------------------------------------------------------------------------
2826
// Helpers

0 commit comments

Comments
 (0)