hello-world.js — express Source File
Architecture documentation for hello-world.js, a javascript file in the express codebase.
Entity Profile
Source Code
var app = require('../../examples/hello-world')
var request = require('supertest')
describe('hello-world', function () {
describe('GET /', function () {
it('should respond with hello world', function (done) {
request(app)
.get('/')
.expect(200, 'Hello World', done)
})
})
describe('GET /missing', function () {
it('should respond with 404', function (done) {
request(app)
.get('/missing')
.expect(404, done)
})
})
})
Source
Frequently Asked Questions
What does hello-world.js do?
hello-world.js is a source file in the express codebase, written in javascript.
Where is hello-world.js in the architecture?
hello-world.js is located at test/acceptance/hello-world.js (directory: test/acceptance).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free