summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/astro-basic.test.js2
-rw-r--r--test/astro-doctype.test.js6
-rw-r--r--test/astro-markdown.test.js2
-rw-r--r--test/astro-styles-ssr.test.js2
-rw-r--r--test/react-component.test.js2
-rw-r--r--test/snowpack-integration.test.js2
6 files changed, 7 insertions, 9 deletions
diff --git a/test/astro-basic.test.js b/test/astro-basic.test.js
index 606a94679..b06cdfcd0 100644
--- a/test/astro-basic.test.js
+++ b/test/astro-basic.test.js
@@ -16,7 +16,7 @@ Basics.before(async () => {
dest: process.stderr,
};
- runtime = await createRuntime(astroConfig, {logging});
+ runtime = await createRuntime(astroConfig, { logging });
});
Basics.after(async () => {
diff --git a/test/astro-doctype.test.js b/test/astro-doctype.test.js
index 23188fd97..c71aee1de 100644
--- a/test/astro-doctype.test.js
+++ b/test/astro-doctype.test.js
@@ -16,8 +16,7 @@ DType.before(async () => {
dest: process.stderr,
};
-
- runtime = await createRuntime(astroConfig, {logging});
+ runtime = await createRuntime(astroConfig, { logging });
} catch (err) {
console.error(err);
setupError = err;
@@ -47,8 +46,7 @@ DType.skip('Preserves user provided doctype', async () => {
assert.equal(result.statusCode, 200);
const html = result.contents.toString('utf-8');
- assert.ok(html.startsWith('<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'),
- 'Doctype included was preserved');
+ assert.ok(html.startsWith('<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'), 'Doctype included was preserved');
});
DType.run();
diff --git a/test/astro-markdown.test.js b/test/astro-markdown.test.js
index 7f5b310e3..a07f692c0 100644
--- a/test/astro-markdown.test.js
+++ b/test/astro-markdown.test.js
@@ -17,7 +17,7 @@ Markdown.before(async () => {
};
try {
- runtime = await createRuntime(astroConfig, {logging});
+ runtime = await createRuntime(astroConfig, { logging });
} catch (err) {
console.error(err);
setupError = err;
diff --git a/test/astro-styles-ssr.test.js b/test/astro-styles-ssr.test.js
index 27da41049..9145e65a9 100644
--- a/test/astro-styles-ssr.test.js
+++ b/test/astro-styles-ssr.test.js
@@ -16,7 +16,7 @@ StylesSSR.before(async () => {
dest: process.stderr,
};
- runtime = await createRuntime(astroConfig, {logging});
+ runtime = await createRuntime(astroConfig, { logging });
});
StylesSSR.after(async () => {
diff --git a/test/react-component.test.js b/test/react-component.test.js
index 48608f902..db3004be5 100644
--- a/test/react-component.test.js
+++ b/test/react-component.test.js
@@ -17,7 +17,7 @@ React.before(async () => {
};
try {
- runtime = await createRuntime(astroConfig, {logging});
+ runtime = await createRuntime(astroConfig, { logging });
} catch (err) {
console.error(err);
setupError = err;
diff --git a/test/snowpack-integration.test.js b/test/snowpack-integration.test.js
index ba2c509c0..3b260ecb4 100644
--- a/test/snowpack-integration.test.js
+++ b/test/snowpack-integration.test.js
@@ -25,7 +25,7 @@ SnowpackDev.before(async () => {
};
try {
- runtime = await createRuntime(astroConfig, {logging});
+ runtime = await createRuntime(astroConfig, { logging });
} catch (err) {
console.error(err);
setupError = err;