diff options
Diffstat (limited to 'packages/astro/test/svelte-component.test.js')
-rw-r--r-- | packages/astro/test/svelte-component.test.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/astro/test/svelte-component.test.js b/packages/astro/test/svelte-component.test.js index 36ba35b51..a68acd924 100644 --- a/packages/astro/test/svelte-component.test.js +++ b/packages/astro/test/svelte-component.test.js @@ -22,6 +22,13 @@ describe('Svelte component', () => { expect($('#svelte-ts').text()).to.equal('Hello, TypeScript'); }); + + it('Works with custom Svelte config', async () => { + const html = await fixture.readFile('/typescript/index.html'); + const $ = cheerio.load(html); + + expect($('#svelte-custom-ext').text()).to.equal('Hello, Custom Extensions'); + }); }); if (isWindows) return; |