* Add tern as dependency * Add build rule to transpile mjs * Initial implementation of the auto complete engine * Separate out the tern server code to separate file * Added extra type defs for tern server * Boost the pw completion result to the top of the list * Added acorn and acorn-walk as dependency * Semantic linting powered by tern * Fix DeepCode warnings for js-editor * Remove unused registerLint tern extension Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
25 lines
525 B
JSON
25 lines
525 B
JSON
{
|
|
"!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())"
|
|
}
|
|
}
|