Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 14, 2022
1 parent bd49980 commit 7ee2a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/swc_ecma_transforms/tests/es2015_function_name.rs
Expand Up @@ -110,7 +110,7 @@ expect(Foo.name).toBe('Foo');
"#,
r#"
var Foo = function() {
var Foo = function() {
var Foo = function Foo1() {
_classCallCheck(this, Foo);
};
_defineProperty(Foo, 'num', 0);
Expand All @@ -137,7 +137,7 @@ test!(
return extendStatics(d, b);
};",
"var extendStatics = function (d, b) {
"var extendStatics = function extendStatics1(d, b) {
extendStatics = Object.setPrototypeOf || ({
__proto__: []
}) instanceof Array && function (d, b) {
Expand Down

0 comments on commit 7ee2a1a

Please sign in to comment.