-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.js
40 lines (36 loc) · 974 Bytes
/
test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
const expect = require('chai').expect
describe('Host', function () {
it('should be reachable via localhost', function () {
expect(true).to.be.equal(true)
})
it('should be reachable via 127.0.0.1', function () {
expect(true).to.be.equal(true)
})
})
describe('Port', function () {
it('should be 8080', function () {
expect(true).to.be.equal(true)
})
it('should not be 80', function () {
expect(true).to.be.equal(true)
})
})
describe('Root path', function () {
it('should deliver logo', function () {
expect(true).to.be.equal(true)
})
it('should have 1 h1-headline', function () {
expect(true).to.be.equal(true)
})
it('should have >= 1 p-paragraph', function () {
expect(true).to.be.equal(true)
})
})
describe('Any subpath', function () {
it('should deliver index.html', function () {
expect(true).to.be.equal(true)
})
it('should not be redirected', function () {
expect(true).to.be.equal(true)
})
})