refactor: monorepo+pnpm (removed husky)
This commit is contained in:
24
packages/hoppscotch-app/helpers/terndoc/pw-test.json
Normal file
24
packages/hoppscotch-app/helpers/terndoc/pw-test.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"!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)"
|
||||
}
|
||||
},
|
||||
"pw": {
|
||||
"expect": "fn(value: ?) -> Expectation",
|
||||
"response": {
|
||||
"status": "number",
|
||||
"headers": "?",
|
||||
"body": "?"
|
||||
},
|
||||
"test": "fn(name: string, func: fn())"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user