diff options
author | 2022-10-13 19:17:42 +0000 | |
---|---|---|
committer | 2022-10-13 19:17:42 +0000 | |
commit | 4866ff882a9be6d1bbaead85f711eaa660f4d64c (patch) | |
tree | af3c47cd33f3e9e59519845196972901dca502c9 /packages/integrations/vue/test/app-entrypoint.test.js | |
parent | d25f54cb9306eea9ed0445af8f77604dacacad43 (diff) | |
download | astro-4866ff882a9be6d1bbaead85f711eaa660f4d64c.tar.gz astro-4866ff882a9be6d1bbaead85f711eaa660f4d64c.tar.zst astro-4866ff882a9be6d1bbaead85f711eaa660f4d64c.zip |
[ci] format
Diffstat (limited to 'packages/integrations/vue/test/app-entrypoint.test.js')
-rw-r--r-- | packages/integrations/vue/test/app-entrypoint.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/vue/test/app-entrypoint.test.js b/packages/integrations/vue/test/app-entrypoint.test.js index 1b53fbd21..0c60818a3 100644 --- a/packages/integrations/vue/test/app-entrypoint.test.js +++ b/packages/integrations/vue/test/app-entrypoint.test.js @@ -8,13 +8,13 @@ describe('App Entrypoint', () => { before(async () => { fixture = await loadFixture({ - root: './fixtures/app-entrypoint/' + root: './fixtures/app-entrypoint/', }); await fixture.build(); }); it('loads during SSR', async () => { - const data = await fixture.readFile('/index.html') + const data = await fixture.readFile('/index.html'); const { document } = parseHTML(data); const bar = document.querySelector('#foo > #bar'); expect(bar).not.to.be.undefined; @@ -22,13 +22,13 @@ describe('App Entrypoint', () => { }); it('setup included in renderer bundle', async () => { - const data = await fixture.readFile('/index.html') + const data = await fixture.readFile('/index.html'); const { document } = parseHTML(data); const island = document.querySelector('astro-island'); const client = island.getAttribute('renderer-url'); expect(client).not.to.be.undefined; const js = await fixture.readFile(client); - expect(js).to.match(/\w+\.component\(\"Bar\"/gm) + expect(js).to.match(/\w+\.component\(\"Bar\"/gm); }); }); |