-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update tempDir paths in test #3160
Conversation
✅ Deploy Preview for asyncapi-website ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-3160--asyncapi-website.netlify.app/ |
@@ -4,7 +4,7 @@ const buildCaseStudiesList = require('../../scripts/casestudies/index'); | |||
const { yaml1,yaml2,json1,json2 } = require("../fixtures/caseStudyData"); | |||
|
|||
describe('buildCaseStudiesList', () => { | |||
const tempDir = path.join(__dirname, 'temp-test-dir'); | |||
const tempDir = path.join(__dirname, '..', 'tempcache'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we have more elaborated name for this directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any suggestions 😅
This PR updates the path of temporary directories that are generated during tests.