showing results for - "jest supertest"
Ian
22 Apr 2019
1import request from 'supertest';
2import app from '../app';
3
4describe('App', () => {
5    it('/', () => {
6        return request(app)
7            .get('/')
8            .expect(200);
9    });
10});
11
Julie
03 Mar 2019
1const request = require('supertest');
2const app = require('../app');
3
4describe('App', () => {
5    it('/', () => {
6        return request(app)
7            .get('/')
8            .expect(200);
9    });
10});