Rename test fixtures using module syntax to .mjs files.
This commit is contained in:
19
packages/babel-plugin-transform-function-name/test/fixtures/function-name/export/input.mjs
vendored
Normal file
19
packages/babel-plugin-transform-function-name/test/fixtures/function-name/export/input.mjs
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
export var foo = "yes", foob = "no";
|
||||
|
||||
export function whatever() {}
|
||||
|
||||
export default function wowzers() {}
|
||||
|
||||
var bar = {
|
||||
foo: function () {
|
||||
foo;
|
||||
},
|
||||
|
||||
whatever: function () {
|
||||
whatever;
|
||||
},
|
||||
|
||||
wowzers: function () {
|
||||
wowzers;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user