diff options
author | 2021-04-09 18:09:44 +0000 | |
---|---|---|
committer | 2021-04-09 18:09:44 +0000 | |
commit | 62924b31628a40adf0efd52c53086362070c4d8b (patch) | |
tree | f3c263e8207f6ba3c862e37c80df0475e46257fb /test/astro-expr.test.js | |
parent | ad9c3b1d8dbf1c3aff75497271347ed36ea38a0b (diff) | |
download | astro-62924b31628a40adf0efd52c53086362070c4d8b.tar.gz astro-62924b31628a40adf0efd52c53086362070c4d8b.tar.zst astro-62924b31628a40adf0efd52c53086362070c4d8b.zip |
[ci] npm run format
Diffstat (limited to 'test/astro-expr.test.js')
-rw-r--r-- | test/astro-expr.test.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/astro-expr.test.js b/test/astro-expr.test.js index 689c32ced..ea461af4b 100644 --- a/test/astro-expr.test.js +++ b/test/astro-expr.test.js @@ -11,10 +11,10 @@ Expressions('Can load page', async ({ runtime }) => { const result = await runtime.load('/'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); @@ -23,10 +23,10 @@ Expressions('Ignores characters inside of strings', async ({ runtime }) => { const result = await runtime.load('/strings'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); @@ -34,10 +34,10 @@ Expressions('Ignores characters inside of strings', async ({ runtime }) => { Expressions('Ignores characters inside of line comments', async ({ runtime }) => { const result = await runtime.load('/line-comments'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); @@ -45,10 +45,10 @@ Expressions('Ignores characters inside of line comments', async ({ runtime }) => Expressions('Ignores characters inside of multiline comments', async ({ runtime }) => { const result = await runtime.load('/multiline-comments'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); |