Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Jan 4, 2025
1 parent ad37b0b commit a4ac67d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,13 @@ exports._imports_2 = _imports_2;
"
`;

exports[`subpackage playground uni-app build:mp-weixin: uni-app build:mp-weixin pages/index/index.wxml 1`] = `"<view class="area"><image src="{{a}}"></image><image src="{{b}}"></image><image src="{{c}}"></image><test-component u-i="a96ab9da-0" bind:__l="__l"></test-component></view>"`;
exports[`subpackage playground uni-app build:mp-weixin: uni-app build:mp-weixin pages/index/index.wxss 1`] = `
"@import "../../app.wxss";
"
`;

exports[`subpackage playground uni-app build:mp-weixin: uni-app build:mp-weixin uni_modules/test-module/components/test-component/test-component.wxml 1`] = `"<view><image src="{{a}}"></image><image src="{{b}}"></image></view>"`;

exports[`subpackage playground uni-app build:mp-weixin: uni-app build:mp-weixin uni_modules/test-module/components/test-component/test-component.wxss 1`] = `""`;

exports[`subpackage playground uni-app build:mp-weixin: uni-app build:mp-weixin uni_modules/test-module/pages/index/index.wxml 1`] = `"<view><image src="{{a}}"></image><image src="{{b}}"></image></view>"`;

exports[`subpackage playground uni-app build:mp-weixin: uni-app build:mp-weixin uni_modules/test-module/pages/index/index.wxss 1`] = `
"@import "../../../../app.wxss";
"
Expand All @@ -48,19 +42,13 @@ exports._imports_2 = _imports_2;
"
`;

exports[`subpackage playground uni-app dev:mp-weixin: uni-app dev:mp-weixin pages/index/index.wxml 1`] = `"<view class="area"><image src="{{a}}"></image><image src="{{b}}"></image><image src="{{c}}"></image><test-component u-i="a96ab9da-0" bind:__l="__l"></test-component></view>"`;
exports[`subpackage playground uni-app dev:mp-weixin: uni-app dev:mp-weixin pages/index/index.wxss 1`] = `
"@import "../../app.wxss";
"
`;

exports[`subpackage playground uni-app dev:mp-weixin: uni-app dev:mp-weixin uni_modules/test-module/components/test-component/test-component.wxml 1`] = `"<view><image src="{{a}}"></image><image src="{{b}}"></image></view>"`;

exports[`subpackage playground uni-app dev:mp-weixin: uni-app dev:mp-weixin uni_modules/test-module/components/test-component/test-component.wxss 1`] = `""`;

exports[`subpackage playground uni-app dev:mp-weixin: uni-app dev:mp-weixin uni_modules/test-module/pages/index/index.wxml 1`] = `"<view><image src="{{a}}"></image><image src="{{b}}"></image></view>"`;

exports[`subpackage playground uni-app dev:mp-weixin: uni-app dev:mp-weixin uni_modules/test-module/pages/index/index.wxss 1`] = `
"@import "../../../../app.wxss";
"
Expand All @@ -81,33 +69,18 @@ exports._imports_2 = _imports_2;
"
`;

exports[`subpackage playground uni-app-x build:mp-weixin: uni-app-x build:mp-weixin pages/index/index.wxml 1`] = `
"<view id="{{d}}" change:eS="{{uV.sS}}" eS="{{$eS[d]}}" class="{{['area', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><image src="{{a}}"></image><image src="{{b}}"></image><image src="{{c}}"></image><test-component u-i="83ed5df8-0" bind:__l="__l"></test-component></view><wxs src="/sub/common/uniView.wxs" module="uV"/>
"
`;
exports[`subpackage playground uni-app-x build:mp-weixin: uni-app-x build:mp-weixin pages/index/index.wxss 1`] = `
"@import "../../app.wxss";
@import "../../uvue.wxss";
:host{display:flex;flex-direction:column}
"
`;

exports[`subpackage playground uni-app-x build:mp-weixin: uni-app-x build:mp-weixin uni_modules/test-module/components/test-component/test-component.wxml 1`] = `
"<view id="{{c}}" change:eS="{{uV.sS}}" eS="{{$eS[c]}}" class="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><image src="{{a}}"></image><image src="{{b}}"></image></view><wxs src="/sub/common/uniView.wxs" module="uV"/>
"
`;
exports[`subpackage playground uni-app-x build:mp-weixin: uni-app-x build:mp-weixin uni_modules/test-module/components/test-component/test-component.wxss 1`] = `
":host{display:flex;flex-direction:column}
"
`;

exports[`subpackage playground uni-app-x build:mp-weixin: uni-app-x build:mp-weixin uni_modules/test-module/pages/index/index.wxml 1`] = `
"<view id="{{c}}" change:eS="{{uV.sS}}" eS="{{$eS[c]}}" class="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><image src="{{a}}"></image><image src="{{b}}"></image></view><wxs src="/sub/common/uniView.wxs" module="uV"/>
"
`;
exports[`subpackage playground uni-app-x build:mp-weixin: uni-app-x build:mp-weixin uni_modules/test-module/pages/index/index.wxss 1`] = `
"@import "../../../../app.wxss";
@import "../../../../uvue.wxss";
Expand All @@ -130,33 +103,18 @@ exports._imports_2 = _imports_2;
"
`;

exports[`subpackage playground uni-app-x dev:mp-weixin: uni-app-x dev:mp-weixin pages/index/index.wxml 1`] = `
"<view id="{{d}}" change:eS="{{uV.sS}}" eS="{{$eS[d]}}" class="{{['area', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><image src="{{a}}"></image><image src="{{b}}"></image><image src="{{c}}"></image><test-component u-i="83ed5df8-0" bind:__l="__l"></test-component></view><wxs src="/sub/common/uniView.wxs" module="uV"/>
"
`;
exports[`subpackage playground uni-app-x dev:mp-weixin: uni-app-x dev:mp-weixin pages/index/index.wxss 1`] = `
"@import "../../app.wxss";
@import "../../uvue.wxss";
:host{display:flex;flex-direction:column}
"
`;

exports[`subpackage playground uni-app-x dev:mp-weixin: uni-app-x dev:mp-weixin uni_modules/test-module/components/test-component/test-component.wxml 1`] = `
"<view id="{{c}}" change:eS="{{uV.sS}}" eS="{{$eS[c]}}" class="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><image src="{{a}}"></image><image src="{{b}}"></image></view><wxs src="/sub/common/uniView.wxs" module="uV"/>
"
`;
exports[`subpackage playground uni-app-x dev:mp-weixin: uni-app-x dev:mp-weixin uni_modules/test-module/components/test-component/test-component.wxss 1`] = `
":host{display:flex;flex-direction:column}
"
`;

exports[`subpackage playground uni-app-x dev:mp-weixin: uni-app-x dev:mp-weixin uni_modules/test-module/pages/index/index.wxml 1`] = `
"<view id="{{c}}" change:eS="{{uV.sS}}" eS="{{$eS[c]}}" class="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><image src="{{a}}"></image><image src="{{b}}"></image></view><wxs src="/sub/common/uniView.wxs" module="uV"/>
"
`;
exports[`subpackage playground uni-app-x dev:mp-weixin: uni-app-x dev:mp-weixin uni_modules/test-module/pages/index/index.wxss 1`] = `
"@import "../../../../app.wxss";
@import "../../../../uvue.wxss";
Expand Down
3 changes: 0 additions & 3 deletions packages/playground/__tests__/subpackage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ describe('subpackage playground', () => {
console.log(`${type} npm run ${script} end`)
const files = [
'common/assets.js',
'pages/index/index.wxml',
'pages/index/index.wxss',
'uni_modules/test-module/pages/index/index.wxml',
'uni_modules/test-module/pages/index/index.wxss',
'uni_modules/test-module/components/test-component/test-component.wxml',
'uni_modules/test-module/components/test-component/test-component.wxss',
]
files.forEach((file) => {
Expand Down

0 comments on commit a4ac67d

Please sign in to comment.