diff options
Diffstat (limited to 'test/astro-fallback.test.js')
-rw-r--r-- | test/astro-fallback.test.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/astro-fallback.test.js b/test/astro-fallback.test.js deleted file mode 100644 index 2acf29f8e..000000000 --- a/test/astro-fallback.test.js +++ /dev/null @@ -1,19 +0,0 @@ -import { suite } from 'uvu'; -import * as assert from 'uvu/assert'; -import { doc } from './test-utils.js'; -import { setup } from './helpers.js'; - -const Fallback = suite('Dynamic component fallback'); - -setup(Fallback, './fixtures/astro-fallback'); - -Fallback('Shows static content', async (context) => { - const result = await context.runtime.load('/'); - - assert.equal(result.statusCode, 200); - - const $ = doc(result.contents); - assert.equal($('#fallback').text(), 'static'); -}); - -Fallback.run(); |