Skip to content
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

Only create a single temporary directory in TestEnv #409

Open
niklasmohrin opened this issue Jan 17, 2025 · 0 comments
Open

Only create a single temporary directory in TestEnv #409

niklasmohrin opened this issue Jan 17, 2025 · 0 comments

Comments

@niklasmohrin
Copy link
Collaborator

Currently, we have

struct TestEnv {
    pub cache_dir: TempDir,
    pub custom_pages_dir: TempDir,
    pub config_dir: TempDir,
    pub default_features: bool,
    pub features: Vec<String>,
}

Instead, there should only be a single TempDir and all files and directories needed should be created inside that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant