UNPKG

@wdio/codemod

Version:

A codemod to transform test files written in Protractor into WebdriverIO tests

13 lines (10 loc) 259 B
function isStringLiteral (val) { return ['Literal', 'StringLiteral'].includes(val.type) } function isNumericalLiteral (val) { return ['Literal', 'NumericLiteral'].includes(val.type) } module.exports = { isStringLiteral, isNumericalLiteral }