We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d45501 commit c2ef2ecCopy full SHA for c2ef2ec
template/test/server/index.spec.js
@@ -1,5 +1,5 @@
1
-import server from '../../index';
2
import request from 'supertest';
+import server from '../../index';
3
4
describe('Project Index', () => {
5
beforeEach((done) => {
@@ -9,7 +9,7 @@ describe('Project Index', () => {
9
10
afterEach(() => server.close());
11
12
- it('should serve client files', async () => {
+ it('should serve client files', async() => {
13
const res = await request(server).get('/index.html');
14
expect(res.statusCode).toBe(200);
15
});
0 commit comments