Require output fixture extension to match sourceType output.
This commit is contained in:
10
packages/babel-plugin-proposal-function-bind/test/fixtures/function-bind/complex-call/output.mjs
vendored
Normal file
10
packages/babel-plugin-proposal-function-bind/test/fixtures/function-bind/complex-call/output.mjs
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
var _context;
|
||||
|
||||
import { map, takeWhile, forEach } from "iterlib";
|
||||
(_context = (_context = (_context = getPlayers(), map).call(_context, function (x) {
|
||||
return x.character();
|
||||
}), takeWhile).call(_context, function (x) {
|
||||
return x.strength > 100;
|
||||
}), forEach).call(_context, function (x) {
|
||||
return console.log(x);
|
||||
});
|
||||
Reference in New Issue
Block a user