Skip to content

Commit ae920f1

Browse files
committed
fix tests for removed headers
1 parent 9b03d79 commit ae920f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/Server.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe("Server", function() {
4646
request(app).get("/public/bundle.js")
4747
.expect("Content-Type", "application/javascript; charset=UTF-8")
4848
.expect("Content-Length", "2985")
49-
.expect("Access-Control-Allow-Origin", "*")
5049
.expect(200, /console\.log\("Hey\."\)/, done);
5150
});
5251

@@ -59,7 +58,6 @@ describe("Server", function() {
5958
request(app).get("/public/svg.svg")
6059
.expect("Content-Type", "image/svg+xml; charset=UTF-8")
6160
.expect("Content-Length", "4778")
62-
.expect("Access-Control-Allow-Origin", "*")
6361
.expect(200, done);
6462
});
6563

@@ -79,7 +77,6 @@ describe("Server", function() {
7977
request(app).get("/public/")
8078
.expect("Content-Type", "text/html; charset=UTF-8")
8179
.expect("Content-Length", "10")
82-
.expect("Access-Control-Allow-Origin", "*")
8380
.expect(200, /My\ Index\./, done);
8481
});
8582

0 commit comments

Comments
 (0)