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:
@@ -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`.
|
||||
|
Reference in New Issue
Block a user