From 57d8d3e1a9536c3b23c06500f32e8802d3816967 Mon Sep 17 00:00:00 2001 From: PeachScript Date: Sat, 7 Oct 2023 16:02:09 +0800 Subject: [PATCH] test: update case --- .../src/transformer/fixtures/expect/demo-await-import.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/preset-dumi/src/transformer/fixtures/expect/demo-await-import.js b/packages/preset-dumi/src/transformer/fixtures/expect/demo-await-import.js index f3c401befd..4f99db7f83 100644 --- a/packages/preset-dumi/src/transformer/fixtures/expect/demo-await-import.js +++ b/packages/preset-dumi/src/transformer/fixtures/expect/demo-await-import.js @@ -8,11 +8,11 @@ dynamic({ await import("$CWD/packages/preset-dumi/src/transformer/fixtures/raw/index.less"); - var _default = function _default() { + var _default; + + return function _default() { return /*#__PURE__*/_react["default"].createElement(_antd.Button, null); }; - - return _default; }, loading: () => null }) \ No newline at end of file