test: fix utils test
This commit is contained in:
parent
fc85ad28ae
commit
7b7e28ad6a
@ -163,7 +163,7 @@ export const isMemberExpressionBrowser = (path: string): boolean => {
|
||||
}
|
||||
|
||||
export const isMemberExpressionNode = __BROWSER__
|
||||
? NOOP
|
||||
? (NOOP as any as (path: string, context: TransformContext) => boolean)
|
||||
: (path: string, context: TransformContext): boolean => {
|
||||
try {
|
||||
let ret: Expression = parseExpression(path, {
|
||||
|
Loading…
Reference in New Issue
Block a user