summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-02-09 19:24:45 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-02-09 19:24:45 +0000
commit9e7a198132c57da98dc4d52cde5f48bc23585cc7 (patch)
tree0a2fd6fcb1b502757b20f26d7555782cd8e15419
parenta9bdd9cc4e41512fbe723620c995e6a110032ebf (diff)
downloadastro-9e7a198132c57da98dc4d52cde5f48bc23585cc7.tar.gz
astro-9e7a198132c57da98dc4d52cde5f48bc23585cc7.tar.zst
astro-9e7a198132c57da98dc4d52cde5f48bc23585cc7.zip
[ci] format
-rw-r--r--packages/astro/test/units/shiki/shiki.test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/astro/test/units/shiki/shiki.test.js b/packages/astro/test/units/shiki/shiki.test.js
index 436e36612..9f65e2505 100644
--- a/packages/astro/test/units/shiki/shiki.test.js
+++ b/packages/astro/test/units/shiki/shiki.test.js
@@ -16,13 +16,13 @@ describe('<Code />', () => {
after(async () => {
await container.close();
- })
+ });
it('uses the bundles themes for built-in themes', async () => {
const { resolveHighlighterOptions } = mod;
const opts = await resolveHighlighterOptions({ theme: 'css-variables' });
const themes = opts.themes;
-
+
expect(themes).to.have.a.lengthOf(1);
expect(themes[0]).to.be.an('object');
});
@@ -31,10 +31,10 @@ describe('<Code />', () => {
const { resolveHighlighterOptions } = mod;
const opts = await resolveHighlighterOptions({ theme: 'some-custom-theme' });
const themes = opts.themes;
-
+
expect(themes).to.have.a.lengthOf(1);
expect(themes[0]).to.be.an('string');
expect(themes[0]).to.equal('some-custom-theme');
- })
+ });
});
});