Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(html pipe): Update integration test for newly exposed types in the meta JSON attributes #1037

Merged
merged 5 commits into from
Jul 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@adobe/fastly-native-promises": "^1.3.2",
"@adobe/helix-pipeline": "3.7.4",
"@adobe/helix-pipeline": "4.0.0",
"@adobe/helix-shared": "1.5.0",
"@adobe/helix-simulator": "2.12.13",
"@adobe/htlengine": "3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion test/specs/json_response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"body":"---\ntemplate: homepage\n---\n\n# Soup Demo Test\n\nThis is rendered using ~~Sightly~~ HTL.\n\n> [!NOTE]\n> This is a note. Who'd have noted?\n\n{% jekyll_embed with params %}\n\n<script>\n alert('hello');\n</script>\n","meta":{"template":"homepage"},"intro":"This is rendered using Sightly HTL.","title":"Soup Demo Test"}
{"body":"---\ntemplate: homepage\n---\n\n# Soup Demo Test\n\nThis is rendered using ~~Sightly~~ HTL.\n\n> [!NOTE]\n> This is a note. Who'd have noted?\n\n{% jekyll_embed with params %}\n\n<script>\n alert('hello');\n</script>\n","meta":{"template":"homepage","types":["has-html","has-text","has-blockquote","has-delete","has-heading","nb-html-1","nb-text-3","nb-blockquote-1","nb-delete-1","nb-heading-1","is-text-html-blockquote","is-text-html","is-text"]},"intro":"This is rendered using Sightly HTL.","title":"Soup Demo Test"}
23 changes: 12 additions & 11 deletions test/specs/simple_response.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,23 @@ <h1>Here are a few things I know:</h1>
<dl>
<dt>Requested Content</dt>
<dd><code>/index.md</code></dd>

<dt>Title</dt>
<dd><code>Soup Demo Test</code></dd>
</dl>
<!-- anyway, here's the full content-->
<main>
<h1 id="soup-demo-test">Soup Demo Test</h1>
<p>This is rendered using <del>Sightly</del> HTL.</p>
<div class="admonition-note">
<p><strong>note</strong>
This is a note. Who’d have noted?</p>
</div>
<p></p>
<script>
alert('hello');
</script>
<h1 id="soup-demo-test">Soup Demo Test</h1>
<p>This is rendered using <del>Sightly</del> HTL.</p>
<div class="admonition-note">
<p>
<strong>note</strong>
This is a note. Who’d have noted?
</p>
</div>
<p></p>
<script>
alert('hello');
</script>
</main>
</body>
</html>