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
1const request = require('supertest');
2const app = require('../app');
3
4describe('App', () => {
5 it('/', () => {
6 return request(app)
7 .get('/')
8 .expect(200);
9 });
10});