This repository was archived by the owner on Jan 29, 2026. It is now read-only.
feat: add vue-router-ssr example with SSR assets API #19
Annotations
3 errors
|
tests
Process completed with exit code 1.
|
|
test/vue-router-ssr.test.ts > vue-router-ssr > prod > /api/hello:
test/_shared.ts#L31
AssertionError: expected '{\n "error": true,\n "url": "http:/…' to be 'API Works!' // Object.is equality
- Expected
+ Received
- API Works!
+ {
+ "error": true,
+ "url": "http://localhost/api/hello",
+ "status": 500,
+ "message": "Server Error"
+ }
❯ test/_shared.ts:31:22
|
|
test/vue-router-ssr.test.ts > vue-router-ssr > dev > /api/hello:
test/_shared.ts#L31
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'API Works!' // Object.is equality
- Expected
+ Received
- API Works!
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Vue Router Custom Framework</title>
+ <link rel="stylesheet" href="/src/styles.css" data-vite-dev-id="/home/runner/work/vite-examples/vite-examples/examples/vue-router-ssr/src/styles.css">
+ <link rel="stylesheet" href="/src/app.vue?vue&type=style&index=0&scoped=37ddea6c&lang.css" data-vite-dev-id="/home/runner/work/vite-examples/vite-examples/examples/vue-router-ssr/src/app.vue?vue&type=style&index=0&scoped=37ddea6c&lang.css">
+ <script type="module" src="/src/entry-client.ts"></script></head>
+ <body>
+ <div id="root"><!--[--><nav data-v-37ddea6c><ul data-v-37ddea6c><li data-v-37ddea6c><a href="/" class="router-link-active" data-v-37ddea6c>Home</a></li><li data-v-37ddea6c><a href="/about" class="" data-v-37ddea6c>About</a></li></ul></nav><main data-v-37ddea6c><h1>Not Found 404</h1></main><!--]--></div>
+ </body>
+ </html>
❯ test/_shared.ts:31:22
|