05d6fc66bb
* Add a test for JSX embedded in an attribute. This test currently fails. * Oops forgot the semicolons on the correct output * Add `--scope prettier-plugin-astro` so that the prettier plugin is tested on default CI * Replace `assert.equal` with `assert.fixture` to remain inline w/ main * Update astro-prettier.test.js * Skip the other failing test. Co-authored-by: Fred K. Schott <fkschott@gmail.com>
6 lines
113 B
Text
6 lines
113 B
Text
---
|
|
export let post;
|
|
export let author;
|
|
---
|
|
|
|
<a class="author" href={`/author/${post.author}`}>{author.name}</a>
|