"server is not enabled" error
See original GitHub issueI’m trying to test the provided example in documentation.
that is:
import { get, setupTest } from '@nuxt/test-utils'
describe('ssr', () => {
setupTest({ server: true })
it('renders the index page', async () => {
const { body } = await get('/')
expect(body).toContain('<a>A Link</a>')
})
})
the test fails, with an error of server is not enabled.
server is not enabled 5 | 6 | it('renders the index page', async () => { > 7 | const thePage = url('/page') | ^ 8 | // is something like 'http://localhost:6840/page' 9 | expect(sum(1, 2)).toBe(3); 10 | })
i have used the defeat configuration mentioned in the installation.
what I’m I doing wrong exactly?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
FIX: Remote access to the server is not enabled [Full Guide]
How do I fix the remote access to the server is not enabled? · 1. Modify Windows Firewall settings · 2. Check Allow...
Read more >How to Fix Remote Access to the Server Is Not Enabled
How to Fix Remote Access to the Server Is Not Enabled ; Solution 2. Check Allow Remote Desktop connections · Win + R...
Read more >FIX: Remote access to the server is not enabled
What Causes the "Remote access to the server is not enabled" Error? ... This error may occur for several reasons, but the most...
Read more >How to fix 'remote desktop can't connect to the remote computer'
Remote desktop can't connect to the remote computer” is a common error you'll see while connecting to a remote computer. Here's the fix....
Read more >Remote access to server is not enabled - TechNet - Microsoft
1) Remote access to the server is not enabled 2) The remote computer is turned off 3) The remote computer is not available...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

i have the same issue, log says:
using v0.2.2 from main nuxt monorepo and nuxt v2.15.8
Oh, in that case I dunno how to set it up correctly, but migrating was so smooth (the api is literally the same) El sáb, 19 feb 2022 a la(s) 15:54, Sergio Compean @.***) escribió: