karma-runner / karma-runner/karma
Make the temp folder configurable
- Dominant language
- JavaScript
- Stars
- 12k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Karma currently (1.7.1) uses the default system temp folder, as evidenced here:
https://github.com/karma-runner/karma/blob/39d378d20dee61a88572225db9e1855da3adb346/lib/temp_dir.js#L7
It would be useful for this to be configurable (e.g. on our build environment the /tmp folder has a limited size, so we are running into some problems).
Contributor guide
Research direction
Start with lib/temp_dir.js at the referenced line to understand how Karma selects its temporary directory, then trace where that directory is used. The work is done when users can configure the temporary folder and the existing default behavior remains intact; add or update tests for the configuration if the repository has coverage for this area.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100