summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2021-07-09 14:47:26 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-07-09 14:47:26 +0000
commit924369b502c55ca94da7ece27aabe5ed7aa294d9 (patch)
tree216e13df03e0e320e0ad8c29a198489008c3ef84
parentd93f768c8cc0df12289c911b2c302d10e17ecc36 (diff)
downloadastro-924369b502c55ca94da7ece27aabe5ed7aa294d9.tar.gz
astro-924369b502c55ca94da7ece27aabe5ed7aa294d9.tar.zst
astro-924369b502c55ca94da7ece27aabe5ed7aa294d9.zip
[ci] yarn format
-rw-r--r--packages/astro/test/astro-hmr.test.js2
-rw-r--r--packages/astro/test/no-head-el.test.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/test/astro-hmr.test.js b/packages/astro/test/astro-hmr.test.js
index 1189c1f9b..330ed1af8 100644
--- a/packages/astro/test/astro-hmr.test.js
+++ b/packages/astro/test/astro-hmr.test.js
@@ -39,7 +39,7 @@ HMR('Adds script to static pages too', async ({ runtime }) => {
assert.ok(/window\.HMR_WEBSOCKET_PORT/.test(html), 'websocket port added');
});
-HMR('Adds script to pages even if there aren\'t any elements in the template', async ({ runtime }) => {
+HMR("Adds script to pages even if there aren't any elements in the template", async ({ runtime }) => {
const result = await runtime.load('/no-elements');
if (result.error) throw new Error(result.error);
diff --git a/packages/astro/test/no-head-el.test.js b/packages/astro/test/no-head-el.test.js
index 749acd975..4e372288f 100644
--- a/packages/astro/test/no-head-el.test.js
+++ b/packages/astro/test/no-head-el.test.js
@@ -31,7 +31,7 @@ NoHeadEl('Injects HMR script even when there are no elements on the page', async
const html = result.contents;
const $ = doc(html);
-
+
assert.equal($('script[src="/_snowpack/hmr-client.js"]').length, 1, 'Only the hmr client for the page');
});