Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj committed Sep 21, 2022
1 parent ebec3cd commit 2d5ffb1
Show file tree
Hide file tree
Showing 21 changed files with 100 additions and 651 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`alipay should build alipay app 1`] = `17`;
exports[`alipay should build alipay app 1`] = `14`;

exports[`alipay should build alipay app 2`] = `
"
Expand Down Expand Up @@ -928,25 +928,6 @@ require(\\"./taro\\");
__webpack_exports__[\\"default\\"] = \\"react-mock\\";
} ] ]);
/** filePath: dist/custom-wrapper.axml **/
<import src=\\"./base.axml\\" />
<block a:for=\\"{{i.cn}}\\" a:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item}}\\" />
</block>
/** filePath: dist/custom-wrapper.js **/
(my[\\"webpackJsonp\\"] = my[\\"webpackJsonp\\"] || []).push([ [ 6 ], {
14: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 14, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/pages/index/index.acss **/
Expand Down Expand Up @@ -1374,7 +1355,7 @@ require(\\"./taro\\");
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{}}
/** filePath: dist/runtime.js **/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`babel should convert do expressions 1`] = `19`;
exports[`babel should convert do expressions 1`] = `16`;

exports[`babel should convert do expressions 2`] = `
"
Expand Down Expand Up @@ -1291,31 +1291,12 @@ require(\\"./taro\\");
}, [ [ 11, 0, 1 ] ] ]);
/** filePath: dist/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\"}}
/** filePath: dist/comp.wxml **/
<import src=\\"./base.wxml\\" />
<template is=\\"tmpl_0_container\\" data=\\"{{i:i,l:l}}\\" />
/** filePath: dist/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 12, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/custom-wrapper.wxml **/
<import src=\\"./base.wxml\\" />
<block wx:for=\\"{{i.cn}}\\" wx:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item,l:''}}\\" />
</block>
/** filePath: dist/pages/index/index.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 8 ], {
13: function(module, exports, __webpack_require__) {},
Expand Down Expand Up @@ -1364,7 +1345,7 @@ require(\\"./taro\\");
}, [ [ 15, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: dist/pages/index/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`bytedance should build bytedance app 1`] = `16`;
exports[`bytedance should build bytedance app 1`] = `13`;

exports[`bytedance should build bytedance app 2`] = `
"
Expand Down Expand Up @@ -388,25 +388,6 @@ require(\\"./taro\\");
__webpack_exports__[\\"default\\"] = \\"react-mock\\";
} ] ]);
/** filePath: dist/custom-wrapper.js **/
(tt[\\"webpackJsonp\\"] = tt[\\"webpackJsonp\\"] || []).push([ [ 6 ], {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 12, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/custom-wrapper.ttml **/
<import src=\\"./base.ttml\\" />
<block tt:for=\\"{{i.cn}}\\" tt:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item}}\\" />
</block>
/** filePath: dist/pages/index/index.js **/
/*! For license information please see index.js.LICENSE.txt */
(tt[\\"webpackJsonp\\"] = tt[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
Expand Down Expand Up @@ -827,7 +808,7 @@ require(\\"./taro\\");
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{}}
/** filePath: dist/pages/index/index.ttml **/
<import src=\\"../../base.ttml\\"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`common style should extract common styles 1`] = `22`;
exports[`common style should extract common styles 1`] = `19`;

exports[`common style should extract common styles 2`] = `
"
Expand Down Expand Up @@ -1329,31 +1329,12 @@ require(\\"./taro\\");
}, [ [ 13, 0, 1 ] ] ]);
/** filePath: dist/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\"}}
/** filePath: dist/comp.wxml **/
<import src=\\"./base.wxml\\" />
<template is=\\"tmpl_0_container\\" data=\\"{{i:i,l:l}}\\" />
/** filePath: dist/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
14: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 14, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/custom-wrapper.wxml **/
<import src=\\"./base.wxml\\" />
<block wx:for=\\"{{i.cn}}\\" wx:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item,l:''}}\\" />
</block>
/** filePath: dist/pages/about/index.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 8 ], {
18: function(module, __webpack_exports__, __webpack_require__) {
Expand Down Expand Up @@ -1398,7 +1379,7 @@ require(\\"./taro\\");
}, [ [ 18, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/about/index.json **/
{\\"navigationBarTitleText\\":\\"关于\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"关于\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: dist/pages/about/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down Expand Up @@ -1448,7 +1429,7 @@ require(\\"./taro\\");
}, [ [ 17, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: dist/pages/index/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`compiler macros - defineAppConfig and definePageConfig should read app and page configs 1`] = `19`;
exports[`compiler macros - defineAppConfig and definePageConfig should read app and page configs 1`] = `16`;

exports[`compiler macros - defineAppConfig and definePageConfig should read app and page configs 2`] = `
"
Expand Down Expand Up @@ -1291,31 +1291,12 @@ require(\\"./taro\\");
}, [ [ 10, 0, 1 ] ] ]);
/** filePath: dist/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\"}}
/** filePath: dist/comp.wxml **/
<import src=\\"./base.wxml\\" />
<template is=\\"tmpl_0_container\\" data=\\"{{i:i,l:l}}\\" />
/** filePath: dist/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
11: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 11, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/custom-wrapper.wxml **/
<import src=\\"./base.wxml\\" />
<block wx:for=\\"{{i.cn}}\\" wx:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item,l:''}}\\" />
</block>
/** filePath: dist/pages/index/index.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 8 ], {
12: function(module, exports, __webpack_require__) {},
Expand Down Expand Up @@ -1359,7 +1340,7 @@ require(\\"./taro\\");
}, [ [ 14, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: dist/pages/index/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`config should base template loop 20 times 1`] = `19`;
exports[`config should base template loop 20 times 1`] = `16`;

exports[`config should base template loop 20 times 2`] = `
"
Expand Down Expand Up @@ -1467,31 +1467,12 @@ require(\\"./taro\\");
}, [ [ 11, 0, 1 ] ] ]);
/** filePath: dist/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\"}}
/** filePath: dist/comp.wxml **/
<import src=\\"./base.wxml\\" />
<template is=\\"tmpl_0_container\\" data=\\"{{i:i,l:l}}\\" />
/** filePath: dist/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 12, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/custom-wrapper.wxml **/
<import src=\\"./base.wxml\\" />
<block wx:for=\\"{{i.cn}}\\" wx:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item,l:''}}\\" />
</block>
/** filePath: dist/pages/index/index.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 8 ], {
13: function(module, exports, __webpack_require__) {},
Expand Down Expand Up @@ -1546,7 +1527,7 @@ require(\\"./taro\\");
}, [ [ 15, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: dist/pages/index/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down Expand Up @@ -1733,7 +1714,7 @@ module.exports = {
"
`;

exports[`config should build from origin and pipe to output 1`] = `19`;
exports[`config should build from origin and pipe to output 1`] = `16`;

exports[`config should build from origin and pipe to output 2`] = `
"
Expand Down Expand Up @@ -3024,31 +3005,12 @@ require(\\"./taro\\");
}, [ [ 11, 0, 1 ] ] ]);
/** filePath: output/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\"}}
/** filePath: output/comp.wxml **/
<import src=\\"./base.wxml\\" />
<template is=\\"tmpl_0_container\\" data=\\"{{i:i,l:l}}\\" />
/** filePath: output/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 12, 0, 1 ] ] ]);
/** filePath: output/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: output/custom-wrapper.wxml **/
<import src=\\"./base.wxml\\" />
<block wx:for=\\"{{i.cn}}\\" wx:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item,l:''}}\\" />
</block>
/** filePath: output/pages/index/index.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 8 ], {
13: function(module, exports, __webpack_require__) {},
Expand Down Expand Up @@ -3103,7 +3065,7 @@ require(\\"./taro\\");
}, [ [ 15, 0, 1, 3, 2 ] ] ]);
/** filePath: output/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: output/pages/index/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down Expand Up @@ -3404,7 +3366,7 @@ module.exports = {
"
`;

exports[`config should copy assets 1`] = `21`;
exports[`config should copy assets 1`] = `18`;

exports[`config should copy assets 2`] = `
"
Expand Down Expand Up @@ -4695,31 +4657,12 @@ require(\\"./taro\\");
}, [ [ 11, 0, 1 ] ] ]);
/** filePath: dist/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\"}}
/** filePath: dist/comp.wxml **/
<import src=\\"./base.wxml\\" />
<template is=\\"tmpl_0_container\\" data=\\"{{i:i,l:l}}\\" />
/** filePath: dist/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 12, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
/** filePath: dist/custom-wrapper.wxml **/
<import src=\\"./base.wxml\\" />
<block wx:for=\\"{{i.cn}}\\" wx:key=\\"sid\\">
<template is=\\"tmpl_0_container\\" data=\\"{{i:item,l:''}}\\" />
</block>
/** filePath: dist/irrelevant.txt **/
I m irrelevant.
Expand Down Expand Up @@ -4778,7 +4721,7 @@ I m irrelevant.
}, [ [ 15, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"comp\\":\\"../../comp\\"}}
/** filePath: dist/pages/index/index.wxml **/
<import src=\\"../../base.wxml\\"/>
Expand Down
Loading

0 comments on commit 2d5ffb1

Please sign in to comment.