Skip to content

Instantly share code, notes, and snippets.

View ericrocha97's full-sized avatar
🏠
Working from home

Eric Rocha ericrocha97

🏠
Working from home
View GitHub Profile
const request = require('supertest');
const app = require('../../src/app');
const connection = require('../../src/database/connection');
describe('Incident', () => {
beforeEach(async () => {
await connection.migrate.rollback();
await connection.migrate.latest();
});