Skip to content

Commit 1e01626

Browse files
authored
adding node 7 to travis config (#185)
* adding node 7 to travis config * fixing some number typos in the tests. confirmed that the change reflects the actual size of the file (so this isn't just an arbitrary change to satisfy the tests)
1 parent d986c2e commit 1e01626

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "6"
54
- "4"
5+
- "6"
6+
- "7"
67
script: npm run travis
78
after_success:
89
- cat ./coverage/coverage.json | node_modules/codecov.io/bin/codecov.io.js

test/Server.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe("Server", function() {
4545
it("GET request to bundle file", function(done) {
4646
request(app).get("/public/bundle.js")
4747
.expect("Content-Type", "application/javascript; charset=UTF-8")
48-
.expect("Content-Length", "2859")
48+
.expect("Content-Length", "2985")
4949
.expect("Access-Control-Allow-Origin", "*")
5050
.expect(200, /console\.log\("Hey\."\)/, done);
5151
});
@@ -120,7 +120,7 @@ describe("Server", function() {
120120

121121
it("GET request to bundle file", function(done) {
122122
request(app).get("/bundle.js")
123-
.expect("Content-Length", "2859")
123+
.expect("Content-Length", "2985")
124124
.expect(200, /console\.log\("Hey\."\)/, done);
125125
});
126126
});

0 commit comments

Comments
 (0)