feat(js-sandbox): add pw.env.unset method (#3677)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
@@ -79,6 +79,13 @@
|
||||
status="updations"
|
||||
global
|
||||
/>
|
||||
<HttpTestResultEnv
|
||||
v-for="(env, index) in testResults.envDiff.global.deletions"
|
||||
:key="`env-${env.key}-${index}`"
|
||||
:env="env"
|
||||
status="deletions"
|
||||
global
|
||||
/>
|
||||
<HttpTestResultEnv
|
||||
v-for="(env, index) in testResults.envDiff.selected.additions"
|
||||
:key="`env-${env.key}-${index}`"
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"value": "?",
|
||||
"writable": "bool",
|
||||
"get": "fn() -> ?",
|
||||
"set": "fn(value: ?)"
|
||||
"set": "fn(value: ?)",
|
||||
"unset": "fn(value: ?)"
|
||||
},
|
||||
"Promise.prototype": {
|
||||
"catch": {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"pw": {
|
||||
"env": {
|
||||
"set": "fn(key: string, value: string)",
|
||||
"unset": "fn(key: string)",
|
||||
"get": "fn(key: string) -> string",
|
||||
"getResolve": "fn(key: string) -> string",
|
||||
"resolve": "fn(value: string) -> string"
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
},
|
||||
"env": {
|
||||
"set": "fn(key: string, value: string)",
|
||||
"unset": "fn(key: string)",
|
||||
"get": "fn(key: string) -> string",
|
||||
"getResolve": "fn(key: string) -> string",
|
||||
"resolve": "fn(value: string) -> string"
|
||||
|
||||
Reference in New Issue
Block a user