pw-test.json (hoppscotch-2.2.1) | : | pw-test.json (hoppscotch-3.0.0) | ||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
"!name": "pw-test", | "!name": "pw-test", | |||
"!define": { | "!define": { | |||
"Expectation": { | "Expectation": { | |||
"not": "Expectation", | "not": "Expectation", | |||
"toBe": "fn(value: ?)", | "toBe": "fn(value: ?)", | |||
"toBeLevel2xx": "fn()", | "toBeLevel2xx": "fn()", | |||
"toBeLevel3xx": "fn()", | "toBeLevel3xx": "fn()", | |||
"toBeLevel4xx": "fn()", | "toBeLevel4xx": "fn()", | |||
"toBeLevel5xx": "fn()", | "toBeLevel5xx": "fn()", | |||
"toBeType": "fn(type: string)", | "toBeType": "fn(type: string)", | |||
"toHaveLength": "fn(length: number)" | "toHaveLength": "fn(length: number)", | |||
"toInclude": "fn(value: ?)" | ||||
} | } | |||
}, | }, | |||
"pw": { | "pw": { | |||
"expect": "fn(value: ?) -> Expectation", | "expect": "fn(value: ?) -> Expectation", | |||
"response": { | "response": { | |||
"status": "number", | "status": "number", | |||
"headers": "?", | "headers": "?", | |||
"body": "?" | "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())" | "test": "fn(name: string, func: fn())" | |||
} | } | |||
} | } | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 8 lines changed or added |