-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Piyush Patel
committed
Dec 5, 2023
1 parent
ad09068
commit f36995e
Showing
5 changed files
with
171 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import path from 'path'; | ||
|
||
// Define the base directory for test data | ||
const baseTestDataDirectory = | ||
'D:/Etenlabs/Repos/Latest/crowd.rocks/frontend/tests/testData/'; | ||
|
||
// Define the constants | ||
const constants = { | ||
filePath: (documentName: string) => | ||
path.join(baseTestDataDirectory, documentName), | ||
invalidFile: path.join(baseTestDataDirectory, 'gifSample.gif'), | ||
fileContent: 'Hello, this is the content of the file.', | ||
}; | ||
|
||
export default constants; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.