We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng test
Node.js version: v18.13.0se
OS version: Ubuntu 22.04.2 LTS
Description: Module not found: Error: Can't resolve 'http' in '[...]/node_modules/supertest/lib'
ng test crashes and doesn't run
ng test runs
it("webmaster's email address", async done => { const response = await request.get('/test') expect(response.status).toBe(200) expect(response.body.message).toBe('pass!') done() })
The text was updated successfully, but these errors were encountered:
The http module doesn't seem available any more: see README.md in http homepage. So, how is supertest suppose to work?
Sorry, something went wrong.
No branches or pull requests
This error occurs when running
ng test
(Angular/Karma/Jasmine)Node.js version: v18.13.0se
OS version: Ubuntu 22.04.2 LTS
Description: Module not found: Error: Can't resolve 'http' in '[...]/node_modules/supertest/lib'
Actual behavior
ng test
crashes and doesn't runExpected behavior
ng test
runsCode to reproduce
Checklist
The text was updated successfully, but these errors were encountered: