Files
osrs-json-hiscores/node_modules/superagent/test.js
maxswa 5986f5feb6 1.0.1
2018-05-15 16:09:29 -04:00

8 lines
224 B
JavaScript

const request = require('./lib/node');
request.post('nevermind')
.field({a:1,b:2})
.attach('c', 'does-not-exist.txt')
.then(() => assert.fail("It should not allow this"))
.catch(() => true);