Skip to content

Commit

Permalink
Fix the directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush Patel committed Dec 5, 2023
1 parent f36995e commit af3463c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/tests/constants/DocumentConstants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import path from 'path';
import { fileURLToPath } from 'url';

// Define the base directory for test data
const baseTestDataDirectory =
'D:/Etenlabs/Repos/Latest/crowd.rocks/frontend/tests/testData/';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const baseTestDataDirectory = path.join(__dirname, '../testData/');

// Define the constants
const constants = {
Expand Down

0 comments on commit af3463c

Please sign in to comment.