Skip to content

Commit

Permalink
fix snapshots and tests after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo committed Dec 29, 2024
1 parent f346257 commit e26a525
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 26 deletions.
8 changes: 4 additions & 4 deletions packages/qwik/src/core/tests/use-store.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ describe.each([

expect(vNode).toMatchVDOM(
<Component ssr-required>
<InlineComponent>
<InlineComponent>
<InlineComponent ssr-required>
<InlineComponent ssr-required>
<button class="repl-tab-button">Options</button>
</InlineComponent>
</InlineComponent>
Expand All @@ -406,8 +406,8 @@ describe.each([

expect(vNode).toMatchVDOM(
<Component ssr-required>
<InlineComponent>
<InlineComponent>
<InlineComponent ssr-required>
<InlineComponent ssr-required>
<button class="active-tab repl-tab-button">Options</button>
</InlineComponent>
</InlineComponent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,19 @@ snapshot_kind: text

============================= test.js ==

import { _fnSignal } from "@qwik.dev/core";
import { qrl } from "@qwik.dev/core";
import { _jsxSorted } from "@qwik.dev/core";
export default ((props)=>{
return /*#__PURE__*/ _jsxSorted("div", null, {
"data-is-active": _fnSignal((p0)=>p0.data.selectedOutputDetail === 'options', [
props
], 'p0.data.selectedOutputDetail==="options"'),
return /*#__PURE__*/ _jsxSorted("div", {
"data-is-active": props.data.selectedOutputDetail === 'options',
onClick$: /*#__PURE__*/ qrl(()=>import("./test.tsx_test_div_onClick_GbMO6TGQv9M"), "test_div_onClick_GbMO6TGQv9M", [
props
])
}, null, 3, "u6_0");
}, null, null, 2, "u6_0");
});


Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;AACE,eAAe,CAAA;IACP,qBACE,WAAC;QACC,gBAAc,kBAAE,GAHV,KAGe,oBAAoB,KAAK;;;QAC9C,QAAQ;;;;AAKpB,CAAA,EAAE\"}")
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;AACE,eAAe,CAAA;IACP,qBACE,WAAC;QACC,kBAAgB,MAHV,KAGe,oBAAoB,KAAK;QAC9C,QAAQ;;;;AAKpB,CAAA,EAAE\"}")
============================= test.tsx_test_div_onClick_GbMO6TGQv9M.js (ENTRY POINT)==

import { useLexicalScope } from "@qwik.dev/core";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,19 @@ snapshot_kind: text

============================= test.js ==

import { _fnSignal } from "@qwik.dev/core";
import { qrl } from "@qwik.dev/core";
import { _jsxSorted } from "@qwik.dev/core";
export default ((props)=>{
return /*#__PURE__*/ _jsxSorted("div", null, {
"data-is-active": _fnSignal((p0)=>p0.data.selectedOutputDetail === 'options', [
props
], 'p0.data.selectedOutputDetail==="options"'),
return /*#__PURE__*/ _jsxSorted("div", {
"data-is-active": props.data.selectedOutputDetail === 'options',
onClick$: /*#__PURE__*/ qrl(()=>import("./test.tsx_test_div_onClick_GbMO6TGQv9M"), "test_div_onClick_GbMO6TGQv9M", [
props
])
}, null, 3, "u6_0");
}, null, null, 2, "u6_0");
});


Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;AACE,eAAe,CAAA,CAAC;IAER,qBACE,WAAC;QACC,gBAAc,kBAAE,GAHlB,KAGuB,oBAAoB,KAAK;;;QAC9C,QAAQ;;;;AAKpB,CAAA,EAAE\"}")
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;AACE,eAAe,CAAA,CAAC;IAER,qBACE,WAAC;QACC,kBAAgB,AAHT,MAAT,KAGuB,oBAAoB,KAAK;QAC9C,QAAQ;;;;AAKpB,CAAA,EAAE\"}")
============================= test.tsx_test_div_onClick_GbMO6TGQv9M.js (ENTRY POINT)==

import { useLexicalScope } from "@qwik.dev/core";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
source: packages/qwik/src/optimizer/core/src/test.rs
assertion_line: 3673
assertion_line: 3696
expression: output
snapshot_kind: text
---
Expand All @@ -17,20 +17,17 @@ snapshot_kind: text

============================= test.js ==

import { _fnSignal } from "@qwik.dev/core";
import { qrl } from "@qwik.dev/core";
import { _jsxSorted } from "@qwik.dev/core";
export default ((props)=>/*#__PURE__*/ _jsxSorted("div", null, {
"data-is-active": _fnSignal((p0)=>p0.data.selectedOutputDetail === 'options', [
props
], 'p0.data.selectedOutputDetail==="options"'),
export default ((props)=>/*#__PURE__*/ _jsxSorted("div", {
"data-is-active": props.data.selectedOutputDetail === 'options',
onClick$: /*#__PURE__*/ qrl(()=>import("./test.tsx_test_div_onClick_GbMO6TGQv9M"), "test_div_onClick_GbMO6TGQv9M", [
props
])
}, null, 3, "u6_0"));
}, null, null, 2, "u6_0"));


Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;AACE,eAAe,CAAA,uBACL,WAAC;QACC,gBAAc,kBAAE,GAFV,KAEe,oBAAoB,KAAK;;;QAC9C,QAAQ;;;uBAGT,EAAE\"}")
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;AACE,eAAe,CAAA,uBACL,WAAC;QACC,kBAAgB,MAFV,KAEe,oBAAoB,KAAK;QAC9C,QAAQ;;;6BAGT,EAAE\"}")
============================= test.tsx_test_div_onClick_GbMO6TGQv9M.js (ENTRY POINT)==

import { useLexicalScope } from "@qwik.dev/core";
Expand Down

0 comments on commit e26a525

Please sign in to comment.