123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`basic-handlebars.hbs 1`] = `
- <script id="entry-template" type="text/x-handlebars-template">
- <div class="entry">
- <h1>{{title}}</h1>
- <div class="body">
- {{body}}
- </div>
- </div>
- </script>
- <div class="{{hello}} {{world}}"></div>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <script id="entry-template" type="text/x-handlebars-template">
- <div class="entry">
- <h1>
- {{title}}
- </h1>
- <div class="body">
- {{body}}
- </div>
- </div>
- </script>
- <div class="{{hello}} {{world}}"></div>
- `;
- exports[`comments.hbs 1`] = `
- <div class="entry">
- {{! This comment will not be in the output }}
- {{!-- This comment as }} and will not be in the output --}}
- <!-- This comment will be in the output -->
- </div>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <div class="entry">
- {{! This comment will not be in the output }}
- {{!-- This comment as }} and will not be in the output --}}
- <!-- This comment will be in the output -->
- </div>
- `;
- exports[`each.hbs 1`] = `
- <div id="comments">
- {{#each comments}}
- <h2><a href="/posts/{{permalink}}#{{id}}">{{title}}</a></h2>
- <div>{{body}}</div>
- {{/each}}
- </div>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <div id="comments">
- {{#each comments}}
- <h2>
- <a href="/posts/{{permalink}}#{{id}}">
- {{title}}
- </a>
- </h2>
- <div>
- {{body}}
- </div>
- {{/each}}
- </div>
- `;
- exports[`if.hbs 1`] = `
- {{#if title}}
- {{permalink}}
- {{/if}}
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- {{#if title}}
- {{permalink}}
- {{/if}}
- `;
- exports[`if-else.hbs 1`] = `
- <h1>
- {{#if isAtWork}}
- Ship that code!
- {{else if isReading}}
- You can finish War and Peace eventually...
- {{else}}
- Go to bed!
- {{/if}}
- </h1>
- <h2>
- {{#if a}}
- A
- {{else}}
- B
- {{/if}}
- </h2>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <h1>
- {{#if isAtWork}}
- Ship that code!
- {{else if isReading}}
- You can finish War and Peace eventually...
- {{else}}
- Go to bed!
- {{/if}}
- </h1>
- <h2>
- {{#if a}}
- A
- {{else}}
- B
- {{/if}}
- </h2>
- `;
- exports[`nested-path.hbs 1`] = `
- <div class="entry">
- <h1>{{title}}</h1>
- <h2>By {{author.name}}</h2>
- <div class="body">
- {{body}}
- </div>
- </div>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <div class="entry">
- <h1>
- {{title}}
- </h1>
- <h2>
- By
- {{author.name}}
- </h2>
- <div class="body">
- {{body}}
- </div>
- </div>
- `;
- exports[`raw.hbs 1`] = `
- <p>{{{raw}}}</p>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <p>
- {{{raw}}}
- </p>
- `;
|