This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
score-tracker/test/test.js

11 lines
232 B
JavaScript

const request = require('supertest');
const app = require('../app');
describe('App', function() {
it('has the default page', function(done) {
request(app)
.get('/')
.expect(/Welcome to Express/, done);
});
});