Skip to content

Commit

Permalink
fix: temporarily run tests without scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Carniato committed Dec 14, 2021
1 parent 85f0ec9 commit 79e7ff0
Show file tree
Hide file tree
Showing 52 changed files with 52 additions and 289 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"lint": "tsc -b && npm run lint:eslint && npm run lint:prettier -- -l && fixpack",
"lint:eslint": "eslint -f visualstudio .",
"lint:prettier": "prettier '**/*{.ts,.js,.json,.md,.yml,rc}'",
"mocha": "MARKO_DEBUG=1 NODE_ENV=test mocha 'src/**/__tests__/*.test.ts'",
"mocha": "NODE_ENV=test mocha 'src/**/__tests__/*.test.ts'",
"postpublish": "replace --silent 'dist' 'src' marko.json",
"prepare": "husky install",
"prepublishOnly": "npm run build && replace --silent 'src' 'dist' marko.json",
Expand Down
5 changes: 4 additions & 1 deletion src/__tests__/fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ before(async () => {
context.addInitScript(() => {
const observer = new MutationObserver(() => {
if (document.body) {
__track__(document.body.innerHTML);
const body = document.body.cloneNode(true);
const scripts = (body as HTMLElement).querySelectorAll("script");
scripts.forEach(n => n.remove())
__track__((body as HTMLElement).innerHTML);
observer.disconnect();
queueMicrotask(observe);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<h1>
Messages
</h1>
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8-0",1,{"mutation":{"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addMessage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"text"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},"directives":[]}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addMessage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"text"},"value":{"kind":"Variable","name":{"kind":"Name","value":"text"}}}],"directives":[]}]}}],"loc":{"start":0,"end":76,"source":{"body":"# addMessage\nmutation addMessage($text: String!) { addMessage(text: $text) }","name":"gql","locationOffset":{"line":1,"column":1}}},"__key":3860862378}},{"f":3}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/index.marko"]})
</script>
</h1>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@
<span>
Loading Messages
</span>
</span>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/__tests__/fixtures/mutation-with-query/components/app.marko"]})
</script>
</span>
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
Loading Messages
</span>
</span>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/__tests__/fixtures/mutation-with-query/components/app.marko"]})
</script>
<div
id="GENERATED-1"
style="display:none"
Expand All @@ -20,7 +17,4 @@ <h1>
Add
</button>
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ <h1>
Add
</button>
</div>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/__tests__/fixtures/mutation-with-query/components/app.marko"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
/>
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ <h1>
Add
</button>
</div>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/__tests__/fixtures/mutation-with-query/components/app.marko"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
/>
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ <h1>
Add
</button>
</div>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/__tests__/fixtures/mutation-with-query/components/app.marko"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
/>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ <h1>
<span />
<button>
Add
</button>
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-mutation/__tests__/fixtures/run-mutation/components/app.marko"]})
</script>
</button>
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only-placeholder/components/app.marko"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
<span>
Loading...
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only-placeholder/components/app.marko"]})
</script>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
<span>
Hello world!
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only-placeholder/components/app.marko"]})
</script>
</div>
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only-variables/components/app.marko"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
<div />
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only-variables/components/app.marko"]})
</script>
<div />
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
<span>
Hello John!
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only-variables/components/app.marko"]})
</script>
</div>
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only/components/app.marko"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
<div />
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only/components/app.marko"]})
</script>
<div />
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
<span>
Hello world!
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/client-only/components/app.marko"]})
</script>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@
<span>
Loading...
</span>
</span>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic-placeholder/components/app.marko"]})
</script>
</span>
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
Loading...
</span>
</span>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic-placeholder/components/app.marko"]})
</script>
<div
id="GENERATED-1"
style="display:none"
Expand All @@ -17,7 +14,4 @@
Hello world!
</span>
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
Hello world!
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic-placeholder/components/app.marko"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
/>
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<noscript
id="GENERATED-0"
/>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic-variables/components/app.marko"]})
</script>
/>
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<noscript
id="GENERATED-0"
/>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic-variables/components/app.marko"]})
</script>
<div
id="GENERATED-1"
style="display:none"
Expand All @@ -13,7 +10,4 @@
Hello John!
</span>
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello John!"},"opKey":3012877545,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
Hello John!
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic-variables/components/app.marko"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello John!"},"opKey":3012877545,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
/>
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<noscript
id="GENERATED-0"
/>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic/components/app.marko"]})
</script>
/>
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<noscript
id="GENERATED-0"
/>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic/components/app.marko"]})
</script>
<div
id="GENERATED-1"
style="display:none"
Expand All @@ -13,7 +10,4 @@
Hello world!
</span>
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
Hello world!
</span>
</div>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/isomorphic/components/app.marko"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
/>
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<noscript
id="GENERATED-0"
/>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/request-policy/components/app.marko"]})
</script>
/>
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<noscript
id="GENERATED-0"
/>
<script>
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["src/components/gql-client/index.marko","src/components/gql-query/__tests__/fixtures/request-policy/components/app.marko"]})
</script>
<div
id="GENERATED-1"
style="display:none"
Expand All @@ -16,7 +13,4 @@
Toggle
</button>
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello John!"},"opKey":3012877545,"then":{}},{"f":1}]],"t":["src/components/gql-query/components/gql-query-client/index.marko"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
</div>
Loading

0 comments on commit 79e7ff0

Please sign in to comment.