chore: split app to commons and web (squash commit)
This commit is contained in:
31
packages/hoppscotch-common/src/helpers/terndoc/pw-test.json
Normal file
31
packages/hoppscotch-common/src/helpers/terndoc/pw-test.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"!name": "pw-test",
|
||||
"!define": {
|
||||
"Expectation": {
|
||||
"not": "Expectation",
|
||||
"toBe": "fn(value: ?)",
|
||||
"toBeLevel2xx": "fn()",
|
||||
"toBeLevel3xx": "fn()",
|
||||
"toBeLevel4xx": "fn()",
|
||||
"toBeLevel5xx": "fn()",
|
||||
"toBeType": "fn(type: string)",
|
||||
"toHaveLength": "fn(length: number)",
|
||||
"toInclude": "fn(value: ?)"
|
||||
}
|
||||
},
|
||||
"pw": {
|
||||
"expect": "fn(value: ?) -> Expectation",
|
||||
"response": {
|
||||
"status": "number",
|
||||
"headers": "?",
|
||||
"body": "?"
|
||||
},
|
||||
"env": {
|
||||
"set": "fn(key: string, value: string)",
|
||||
"get": "fn(key: string) -> string",
|
||||
"getResolve": "fn(key: string) -> string",
|
||||
"resolve": "fn(value: string) -> string"
|
||||
},
|
||||
"test": "fn(name: string, func: fn())"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user