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

chore: set KV_PATH environment variable #285

Merged
merged 1 commit into from
Jun 22, 2023
Merged

chore: set KV_PATH environment variable #285

merged 1 commit into from
Jun 22, 2023

Conversation

iuioiua
Copy link
Contributor

@iuioiua iuioiua commented Jun 22, 2023

This change allows the path parameter in Deno.openKv(path) to be controlled via the KV_PATH environment variable. Tests now use the :memory: path, which has a lifetime that ends once tests end, meaning there'll be no clash with production data.

This is a pre-requisite for #284.

@iuioiua iuioiua marked this pull request as ready for review June 22, 2023 09:56
@iuioiua iuioiua merged commit 7543b4c into main Jun 22, 2023
@iuioiua iuioiua deleted the kv-path branch June 22, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant