refactor(OutputAst): BuiltinMethod.bind renamed to Bind (#10739)
This commit is contained in:
@ -95,7 +95,7 @@ export function main() {
|
||||
|
||||
expect(
|
||||
emitStmt(
|
||||
o.variable('fn').callMethod(o.BuiltinMethod.bind, [o.variable('someObj')]).toStmt()))
|
||||
o.variable('fn').callMethod(o.BuiltinMethod.Bind, [o.variable('someObj')]).toStmt()))
|
||||
.toEqual('fn.bind(someObj);');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user