Fix compile errors due to prettier changes

This commit is contained in:
Oliver Davies 2020-03-08 18:59:29 +00:00
parent 8092202ba8
commit 2b591083f0
2 changed files with 18 additions and 7 deletions

View file

@ -6,6 +6,7 @@ contact_email: 'oliver@testdrivendrupal.com'
{% block content %}
<!-- prettier-ignore -->
<div class="markup spaced-y-4 mb-6" markdown="1">
Having [given talks][1] and workshops, been a guest on podcasts and [written articles][0] about automated testing in Drupal, Im currently in the planning phase of a book and potentially some accompanying screencasts about it, focussing on Drupal 8.
@ -49,7 +50,10 @@ and be notified of any updates.**
</div>
{% include 'pages/book/signup-form' %} {% endblock %}
{% include 'pages/book/signup-form' %}
<!-- prettier-ignore -->
{% endblock %}
[0]: /articles/tags/testing
[1]: /talks/tdd-test-driven-drupal

View file

@ -37,11 +37,14 @@ events:
time: '14:00 - 14:45'
---
{% block content %} Testing is important. Why? It allows developers to add new
features and edit and refactor existing code without the worry of adding
regressions, reduces the reliance on manual testing to discover bugs, and by
taking a test driven approach, your implementation code is leaner as you only
write what is needed for your tests to pass.
{% block content %}
<!-- prettier-ignore -->
Testing is important. Why? It allows developers to add new features and edit and
refactor existing code without the worry of adding regressions, reduces the
reliance on manual testing to discover bugs, and by taking a test driven
approach, your implementation code is leaner as you only write what is needed
for your tests to pass.
Drupal 7 includes the SimpleTest module for unit and functional testing, whilst
Drupal 8 also includes and supports PHPUnit - the defacto PHP testing framework,
@ -53,10 +56,14 @@ to core, or when working on your own projects.
In this talk, well cover the methodology and terminology involved with
automated testing, and then take a test driven approach to creating a new Drupal
module. {% endblock %}
module.
<!-- prettier-ignore -->
{% endblock %}
{% block tweets %}
<!-- prettier-ignore -->
<div class="flex flex-wrap -mx-2">
<div class="w-full sm:w-1/2 lg:w-1/3 px-2 flex flex-col">
{% include 'tweet' with {