1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

js: add basic support for running tests, fix string.replace_each (#11314)

This commit is contained in:
playX
2021-08-26 15:20:54 +03:00
committed by GitHub
parent 403da9f36e
commit bdf11d969a
8 changed files with 178 additions and 28 deletions

View File

@@ -1,9 +1,9 @@
module os
$if js_node {
#const $ENV = $process.env
#global.$ENV = $process.env
} $else {
#const $ENV = {}
#global.$ENV = {}
}
// setenv sets the value of an environment variable with `name` to `value`.