Skip to content

Commit 94669f9

Browse files
committed
remove duplicate location test for data uri
1 parent b28db2c commit 94669f9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/res.location.js

-12
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,6 @@ describe('res', function(){
116116
.expect(200, done)
117117
})
118118

119-
it('should encode data uri', function (done) {
120-
var app = express()
121-
app.use(function (req, res) {
122-
res.location('data:text/javascript,export default () => { }').end();
123-
});
124-
125-
request(app)
126-
.get('/')
127-
.expect('Location', 'data:text/javascript,export%20default%20()%20=%3E%20%7B%20%7D')
128-
.expect(200, done)
129-
})
130-
131119
it('should consistently handle non-string input: boolean', function (done) {
132120
var app = express()
133121
app.use(function (req, res) {

0 commit comments

Comments
 (0)