Skip to content

Commit de01077

Browse files
authored
Update test.js
1 parent 23075e8 commit de01077

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

test/test.js

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -267,25 +267,26 @@ describe('server', function () {
267267
done();
268268
})
269269
});
270-
it('should fetch Non UTF encoding', function (done) {
271-
fetchog.fetch('https://cafe.naver.com/joonggonara', {
272-
http: {
273-
timeout: 3000
274-
}
275-
}).then((res) => {
276-
should.exist(res);
277-
should.exist(res.url);
278-
should.exist(res.language);
279-
should.exist(res.charset);
280-
res.charset.should.equal("MS949");
281-
res.language.should.equal("ko");
282-
done()
283-
}).catch((err) => {
284-
console.error(err);
285-
should.not.exist(err);
286-
done(err);
287-
});
288-
});
270+
// Need to find a more reliable url.
271+
// it('should fetch Non UTF encoding', function (done) {
272+
// fetchog.fetch('https://cafe.naver.com/joonggonara', {
273+
// http: {
274+
// timeout: 3000
275+
// }
276+
// }).then((res) => {
277+
// should.exist(res);
278+
// should.exist(res.url);
279+
// should.exist(res.language);
280+
// should.exist(res.charset);
281+
// res.charset.should.equal("MS949");
282+
// res.language.should.equal("ko");
283+
// done()
284+
// }).catch((err) => {
285+
// console.error(err);
286+
// should.not.exist(err);
287+
// done(err);
288+
// });
289+
// });
289290
it('Failed valid request.', function (done) {
290291
fetchog.fetch('http://127.0.0.1:2446/test.html', {
291292
http: {

0 commit comments

Comments
 (0)